mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
notes: document change in nix-shell behavior
This commit is contained in:
parent
9a4641146f
commit
f66f498bd4
1 changed files with 8 additions and 0 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…
Reference in a new issue