Clarify that not all nix packages will use the default build phases

This commit is contained in:
John Chapman 2021-10-09 12:03:34 +11:00
parent 01e9f046a8
commit 4cff413054

View file

@ -117,6 +117,12 @@ $ nix-shell '<nixpkgs>' -A pan
[nix-shell]$ ./pan/gui/pan [nix-shell]$ ./pan/gui/pan
``` ```
Note: Other packages may override these phases (the unpackPhase,
configurePhase, buildPhase, etc).
For those, it may be required to do something like
`eval "$configurePhase-configurePhase"` or `eval "$configurePhase"`
depending on how that package's nix files have been written.
To clear the environment first, and do some additional automatic To clear the environment first, and do some additional automatic
initialisation of the interactive shell: initialisation of the interactive shell: