diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2022-02-02 23:45:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 23:45:51 +0100 |
commit | c9b3d27be060e6ae86aab03a6ac0c390a1676e13 (patch) | |
tree | 35c77eb9d4403c7b9839fa7d7eea25b444ff2ca3 /doc | |
parent | 0838f79f0b5fd3e9c8067e9debce3ce38c635190 (diff) | |
download | nixpkgs-c9b3d27be060e6ae86aab03a6ac0c390a1676e13.tar nixpkgs-c9b3d27be060e6ae86aab03a6ac0c390a1676e13.tar.gz nixpkgs-c9b3d27be060e6ae86aab03a6ac0c390a1676e13.tar.bz2 nixpkgs-c9b3d27be060e6ae86aab03a6ac0c390a1676e13.tar.lz nixpkgs-c9b3d27be060e6ae86aab03a6ac0c390a1676e13.tar.xz nixpkgs-c9b3d27be060e6ae86aab03a6ac0c390a1676e13.tar.zst nixpkgs-c9b3d27be060e6ae86aab03a6ac0c390a1676e13.zip |
stdenv.md: Call out that genericBuild has correct order
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stdenv/stdenv.chapter.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index 5e224891875..974f8747936 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -325,7 +325,7 @@ This generic command invokes a number of *phases*. Package builds are split into Each phase can be overridden in its entirety either by setting the environment variable `namePhase` to a string containing some shell commands to be executed, or by redefining the shell function `namePhase`. The former is convenient to override a phase from the derivation, while the latter is convenient from a build script. However, typically one only wants to *add* some commands to a phase, e.g. by defining `postInstall` or `preFixup`, as skipping some of the default actions may have unexpected consequences. The default script for each phase is defined in the file `pkgs/stdenv/generic/setup.sh`. -If you want to run all phases in `nix-shell`, you can invoke `genericBuild` yourself in the interactive shell. +While inside an interactive `nix-shell`, if you wanted to run all phases in the order they would be run in an actual build, you can invoke `genericBuild` yourself. ### Controlling phases {#ssec-controlling-phases} |