3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #221645 from raboof/doc-stdenv-add-quotes-for-phases-with-newlines

This commit is contained in:
Bernardo Meurer 2023-03-17 13:14:43 -03:00 committed by GitHub
commit bae66663b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,11 +101,11 @@ To build a `stdenv` package in a [`nix-shell`](https://nixos.org/manual/nix/unst
```bash ```bash
nix-shell '<nixpkgs>' -A some_package nix-shell '<nixpkgs>' -A some_package
eval ${unpackPhase:-unpackPhase} eval "${unpackPhase:-unpackPhase}"
cd $sourceRoot cd $sourceRoot
eval ${patchPhase:-patchPhase} eval "${patchPhase:-patchPhase}"
eval ${configurePhase:-configurePhase} eval "${configurePhase:-configurePhase}"
eval ${buildPhase:-buildPhase} eval "${buildPhase:-buildPhase}"
``` ```
To modify a [phase](#sec-stdenv-phases), first print it with To modify a [phase](#sec-stdenv-phases), first print it with