Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

doc/stdenv: update manual phases execution instructions

Update instructions for manual build phases execution via `nix-shell` to
cover all phases. There is no easy way of getting those commands, so it
makes a sense to have them all properly documented.

+8 -3
+8 -3
doc/stdenv/stdenv.chapter.md
··· 119 ``` 120 121 Then, run more phases up until the failure is reached. 122 - For example, if the failure is in the build phase, the following phases would be required: 123 124 ```bash 125 - phases="${preConfigurePhases[*]:-} configurePhase ${preBuildPhases[*]:-} buildPhase" genericBuild 126 ``` 127 128 - Re-run a single phase as many times as necessary to examine the failure like so: 129 130 ```bash 131 phases="buildPhase" genericBuild
··· 119 ``` 120 121 Then, run more phases up until the failure is reached. 122 + If the failure is in the build or check phase, the following phases would be required: 123 124 ```bash 125 + phases="${preConfigurePhases[*]:-} configurePhase ${preBuildPhases[*]:-} buildPhase checkPhase" genericBuild 126 + ``` 127 + 128 + Use this command to run all install phases: 129 + ```bash 130 + phases="${preInstallPhases[*]:-} installPhase ${preFixupPhases[*]:-} fixupPhase installCheckPhase" genericBuild 131 ``` 132 133 + Single phase can be re-run as many times as necessary to examine the failure like so: 134 135 ```bash 136 phases="buildPhase" genericBuild