Skip to content

Commit

Permalink
notes: document change in nix-shell behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
tomberek committed Nov 28, 2023
1 parent 9a46411 commit f66f498
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/manual/rl-next/shebang-relative.md
Original file line number Diff line number Diff line change
@@ -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.

}

0 comments on commit f66f498

Please sign in to comment.