David Thompson <[email protected]> skribis: > Hmm, I thought that this was a perfect use-case for profiles. I haven't > read the source to nix-shell yet, but I inferred that it essentially did > the following: > > 1) Create profile in project directory > 2) Install dependencies > 3) Run the desired shell > 4) Prepend the new profile's /bin to $PATH > 5) Set search path env vars
Just to be clear, that’s something that can be done currently with: guix package -p foo -i one two three eval `guix package -p $PWD/foo --search-paths` export PATH="$PWD/foo/bin" (We could easily get rid of the last step.) Ludo’.
