mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
nix: Parse --file relative to shebang script
This commit is contained in:
parent
198bc22e3b
commit
466271568b
3 changed files with 24 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
contents of any `#! nix` lines and the script's location to a single call.
|
||||
|
||||
Verbatim strings may be passed in double backtick (```` `` ````) quotes.
|
||||
`--expr` resolves relative paths based on the shebang script location.
|
||||
`--file` and `--expr` resolve relative paths based on the script location.
|
||||
|
||||
Some examples:
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue