Make `nix-shell` support content-addressed derivations
Resolve the derivation before trying to load its environment − essentially reproducing what the build loop does − so that we can effectively access our dependencies (and not just their placeholders). Fix #4821
Showing
- src/nix-build/nix-build.cc 7 additions, 0 deletionssrc/nix-build/nix-build.cc
- tests/ca/nix-shell.sh 10 additions, 0 deletionstests/ca/nix-shell.sh
- tests/local.mk 1 addition, 0 deletionstests/local.mk
- tests/nix-shell.sh 10 additions, 4 deletionstests/nix-shell.sh
- tests/shell.nix 14 additions, 2 deletionstests/shell.nix
Loading
Please register or sign in to comment