Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-26 | Make `nix-shell` work when nixpkgs is content-addressed | regnat | |
Fix #5259 | |||
2021-07-31 | nix-shell -p: pass --arg values as nixpkgs params | ldesgoui | |
2021-07-09 | nix print-dev-env: Add --json flag | Eelco Dolstra | |
2021-07-09 | nix develop: Add a test for bash functions | Eelco Dolstra | |
2021-07-09 | Add test for #4992 | Eelco Dolstra | |
2021-07-09 | nix develop: Add a test for arrays | Eelco Dolstra | |
2021-06-11 | Make `nix develop` work with CA derivations | regnat | |
Fix #4823 | |||
2021-06-11 | Make `nix-shell` support content-addressed derivations | regnat | |
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 | |||
2020-11-24 | Escape filename given to nix-shell in shebang mode | Lily Ballard | |
This prevents spaces or other metacharacters from causing nix-shell to execute the wrong path. Fixes #4229. | |||
2020-11-09 | Add test case for incidentally fixed #4228 | Sebastian Ullrich | |
2020-11-09 | Make test case more precise | Sebastian Ullrich | |
Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com> | |||
2020-11-09 | nix develop: Preserve stdin with `-c` | Sebastian Ullrich | |
2020-09-03 | Remove the --indirect flag | Eelco Dolstra | |
All GC roots are now indirect. | |||
2020-07-03 | Hopefully fix macOS test failure | Eelco Dolstra | |
2020-07-02 | Add test for nix develop | Eelco Dolstra | |
2019-10-27 | Add inNixShell = true to nix-shell auto-call | Robert Hensing | |
This is an alternative to the IN_NIX_SHELL environment variable, allowing the expression to adapt itself to nix-shell without triggering those adaptations when used as a dependency of another shell. Closes #3147 | |||
2019-06-15 | Fix test failures when $TMPDIR changes | Eelco Dolstra | |
(cherry picked from commit c38c726eb5d447c7e9d894d57cd05ac46c173ddd) | |||
2018-08-02 | Allows selectively adding environment variables to pure shells. | Samuel Dionne-Riel | |
Includes documentation and test. | |||
2018-04-09 | Hardcodes `nix-shell` instead of `/usr/bin/env nix-shell`... | Samuel Dionne-Riel | |
... in the ruby shebang test. | |||
2018-04-08 | Adds `nix-shell` test for special-cased ruby interpreter. | Samuel Dionne-Riel | |
The test fakes the interpreter only to verify the arguments it would be given. | |||
2018-03-16 | nix-shell: allow symlinks to .drvs | Linus Heckemann | |
This makes persistent shell environments easier to use. | |||
2017-11-24 | nix-shell/nix-build: Support .drv files again | Eelco Dolstra | |
Fixes #1663. Also handle '!<output-name>' (#1694). | |||
2017-02-24 | Fix nix-shell tests | Eelco Dolstra | |
The nix-shell fix in 668fef2e4f1c7758e2a55e355b4826014d5b7ba9 revealed that we had some --pure tests that incorrectly depended on PATH from config.nix's mkDerivation being overwritten by the caller's PATH. http://hydra.nixos.org/build/49242478 | |||
2017-01-03 | nix-shell: In #! mode, pass the last argument | Eelco Dolstra | |
"i < argc - 1" should be "i < argc". | |||
2017-01-03 | tests: Add simple tests for nix-shell | Tuomas Tynkkynen | |
nix-shell -A, -p and -i are lightly tested. |