nix: Add --expr flag
This replaces the '(...)' installable syntax, which is not very discoverable. The downside is that you can't have multiple expressions or mix expressions and other installables.
Showing
- src/nix/command.hh 2 additions, 1 deletionsrc/nix/command.hh
- src/nix/eval.cc 1 addition, 1 deletionsrc/nix/eval.cc
- src/nix/installables.cc 21 additions, 12 deletionssrc/nix/installables.cc
- tests/fetchGit.sh 25 additions, 25 deletionstests/fetchGit.sh
- tests/fetchMercurial.sh 17 additions, 17 deletionstests/fetchMercurial.sh
- tests/gc-auto.sh 2 additions, 2 deletionstests/gc-auto.sh
- tests/plugins.sh 1 addition, 1 deletiontests/plugins.sh
- tests/pure-eval.sh 8 additions, 8 deletionstests/pure-eval.sh
- tests/restricted.sh 9 additions, 9 deletionstests/restricted.sh
Loading
Please register or sign in to comment