mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
Add opt-out: nix-shell-shebang-arguments-relative-to-script
This commit is contained in:
parent
4c59d6e9f5
commit
63262e78c7
5 changed files with 22 additions and 3 deletions
|
@ -5,4 +5,6 @@ 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 evaluations are performed relative to the script.
|
||||
|
||||
The old behavior can be opted into by setting the option [`nix-shell-shebang-arguments-relative-to-script`](@docroot@/command-ref/conf-file.md#conf-nix-shell-shebang-arguments-relative-to-script) to `false`.
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue