about summary refs log tree commit diff
path: root/doc/stdenv/stdenv.chapter.md
diff options
context:
space:
mode:
authorfricklerhandwerk <6599296+fricklerhandwerk@users.noreply.github.com>2021-08-13 17:14:21 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-04-21 09:27:10 +0200
commite3883d2ce0e23f07d0ffe90da37d08e65f1e534e (patch)
tree4f2371b70f23bbf144f7166a243e2fae1435a994 /doc/stdenv/stdenv.chapter.md
parentb0fce27ce22c1c2b5c1198feee92bec708fa3a1d (diff)
docs: clarify note on existing store paths
Diffstat (limited to 'doc/stdenv/stdenv.chapter.md')
-rw-r--r--doc/stdenv/stdenv.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md
index a73b70a34ac96..23503235a105d 100644
--- a/doc/stdenv/stdenv.chapter.md
+++ b/doc/stdenv/stdenv.chapter.md
@@ -952,7 +952,7 @@ The [generic builder](https://github.com/NixOS/nixpkgs/blob/6ba632c2a442082f353b
 :::
 
 `#!/bin/sh` will be rewritten to `#!/nix/store/<hash>-some-bash/bin/sh`.
-`#!/usr/bin/env` gets special treatment: `#!/usr/bin/env python` is rewritten to `/nix/store/<hash>/bin/python`. Interpreters that are already in the store are left untouched.
+`#!/usr/bin/env` gets special treatment: `#!/usr/bin/env python` is rewritten to `/nix/store/<hash>/bin/python`. Interpreter paths that point to a valid Nix store location are not changed.
 
 ::: note
 A script file must be marked as executable, otherwise it will not be