1
0
Fork 0
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:
Robert Hensing 2023-05-12 19:56:04 +02:00 committed by tomberek
parent 198bc22e3b
commit 466271568b
3 changed files with 24 additions and 3 deletions

View file

@ -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:
```