nix/src
Matthew Bauer 04023360ed Evaluate nix-shell -i args relative to script
When writing a shebang script, you expect your path to be relative to
the script, not the cwd. We previously handled this correctly for
relative file paths, but not for expressions.

This handles both -p & -E args. My understanding is this should be
what we want in any cases I can think of - people run scripts from
many different working directories. @edolstra is there any reason to
handle -p args differently in this case?

Fixes #4232
2023-11-27 14:40:38 -05:00
..
build-remote Allow dynamic derivation deps in inputDrvs 2023-09-07 10:39:37 -04:00
libcmd add deprecation warnings in documentation 2023-11-27 14:07:32 +01:00
libexpr Merge pull request #9462 from trofi/eval.o-dependency 2023-11-27 17:25:21 +01:00
libfetchers Allow user input in git commit 2023-11-24 11:45:37 +01:00
libmain Show Git fetch progress 2023-11-15 13:57:20 +01:00
libstore doc: fix machine-specific capabilities leaking 2023-11-24 11:17:35 -05:00
libutil Add the MountedSSHStore experimental feature 2023-11-21 13:16:46 -05:00
nix nix flake update add deprecation warnings. 2023-11-27 09:08:15 +01:00
nix-build Evaluate nix-shell -i args relative to script 2023-11-27 14:40:38 -05:00
nix-channel Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-collect-garbage Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-copy-closure Remove stray executable permissions on source files 2023-11-02 09:24:21 +01:00
nix-env Merge pull request #9257 from Artturin/nixenvjsondrvpath 2023-11-20 16:32:35 -05:00
nix-instantiate Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-store Put canonicaliseTimestampAndPermissions in its own header/file 2023-11-21 12:57:59 -05:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00