You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I'm trying to use dream2nix to build a python application, with a single application it works however. I have a library which I also develop which is used in one of my projects. Is it possible to set dream2nix to use my local copy of the library in a 'development mode' so that i can develop both of them on my machine in parallel?
The thing is at the moment everything is using pip and I don't want to move everything to nix right away so it would be nice if i can just have a devshell for one project which uses the local python dependancy.
The text was updated successfully, but these errors were encountered:
The devshell in that example would automatically include the generated pip.editablesShellHook.
If you set pip.editables i.e. pip.editables.my_project = "/home/user/src/my_project";, my_project will be added to your shell as an "editable install" as pip calls it. You need to use an absolute path outside nix store though, as anything inside the nix store would be immutable.
Hey I'm trying to use dream2nix to build a python application, with a single application it works however. I have a library which I also develop which is used in one of my projects. Is it possible to set dream2nix to use my local copy of the library in a 'development mode' so that i can develop both of them on my machine in parallel?
The thing is at the moment everything is using
pip
and I don't want to move everything to nix right away so it would be nice if i can just have a devshell for one project which uses the local python dependancy.The text was updated successfully, but these errors were encountered: