forked from lix-project/lix
nix-shell.md: evaluated -> run
Use "run" to avoid confusion with Nix evaluation. "evaluated" was intended to reference bash eval but it's ambiguous.
This commit is contained in:
parent
5ac911bad6
commit
b809c48ebb
|
@ -32,7 +32,7 @@ URL of a tarball that will be downloaded and unpacked to a temporary
|
||||||
location. The tarball must include a single top-level directory
|
location. The tarball must include a single top-level directory
|
||||||
containing at least a file named `default.nix`.
|
containing at least a file named `default.nix`.
|
||||||
|
|
||||||
If the derivation defines the variable `shellHook`, it will be evaluated
|
If the derivation defines the variable `shellHook`, it will be run
|
||||||
after `$stdenv/setup` has been sourced. Since this hook is not executed
|
after `$stdenv/setup` has been sourced. Since this hook is not executed
|
||||||
by regular Nix builds, it allows you to perform initialisation specific
|
by regular Nix builds, it allows you to perform initialisation specific
|
||||||
to `nix-shell`. For example, the derivation attribute
|
to `nix-shell`. For example, the derivation attribute
|
||||||
|
|
Loading…
Reference in a new issue