mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
Merge remote-tracking branch 'matthewbauer/nix-shell-relative-shebang' into more-nix-shell
This commit is contained in:
commit
8838f5c746
3 changed files with 24 additions and 1 deletions
8
doc/manual/rl-next/shebang-relative.md
Normal file
8
doc/manual/rl-next/shebang-relative.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
synopsis: ensure nix-shell shebang uses relative path
|
||||
prs: #5088
|
||||
description: {
|
||||
|
||||
`nix-shell` shebangs use the script file's relative location to resolve relative paths to files passed as command line arguments, but expression arguments were still evaluated using the current working directory as a base path.
|
||||
The new behavior is that evalutations are performed relative to the script.
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue