notes: document change in nix-shell behavior

This commit is contained in:
Tom Bereknyei 2023-11-25 19:07:29 -05:00
parent 9a4641146f
commit ba56f8b953
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
synopsis: ensure nix-shell shebang uses relative path
prs: #5088
description: {
`nix-shell` shebangs use relative paths for files, but expressions were still evaluated using the current working directory. The new behavior is that evalutations are performed relative to the script.
}

View File

@ -0,0 +1,8 @@
# Release X.Y (202?-??-??)
- Fixed a bug where `nix-env --query` ignored `--drv-path` when `--json` was set.
- Introduced the store [`mounted-ssh-ng://`](@docroot@/command-ref/new-cli/nix3-help-stores.md).
This store allows full access to a Nix store on a remote machine and additionally requires that the store be mounted in the local filesystem.
- [`nix-shell`](../command-ref/nix-shell.md) shebangs now interpret "-E" with relative paths