Jairo Llopis
Jairo Llopis
I finally found the workaround after several hours: not using the flake. Example: ```nix inputs = { mach-nix = {url="github:DavHau/mach-nix";flake=false;}; ... }; outputs = {self, nixpkgs, ... } @ inputs:...
I found the workaround. Use this `shell.nix`: ```nix let mach-nix = import (builtins.fetchGit { url = "https://github.com/DavHau/mach-nix"; rev = "7b0e7f6f58f7332c1b8347e2673036eada1a6998"; }) {}; odoo = (import ./.); in (odoo.pythonModule.withPackages (ps: [odoo])).env...
So there's no way to use mach-nix to install editable package(s)? FTR, Odoo cannot be installed properly with pip using other method: https://github.com/odoo/odoo/issues/16700
My objective is to set up a development environment, where I need to edit multiple dependencies simultaneously (basically: odoo + extra addons). According to my tests, while developing, purity is...
That will not install the dependencies. Also it would forbid things like PEP660.
> To get the dependencies you can just build a shell with mach-nix with all the dependencies included and then add your project via PYTHONPATH ontop. But that would mean...
Couldn't we just pip install -e the dependency and force pip to output things into the derivation's outPath? This way we would let pip handle any standard it wants. El...
To fix the build, I had to apply this diff: ```diff diff --git a/test copy/flake.nix b/test copy/flake.nix index 7398733..741d43b 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,7 @@ sha256 =...
I wonder... would the @flathub team accept these apps? After all... who cares they are based on wine or not? As long as they're reproducible, buildable and easily installable... :man_shrugging:
Happened to me while developing a flake. ```nix inputs.flake-utils.lib.eachDefaultSystem (system: let pkgs = import inputs.nixpkgs { inherit system; overlays = [inputs.devshell.overlay]; }; in { ... ``` Looks weird. One would...