1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

Update source/tutorials/learning-journey/packaging-existing-software.md

Co-authored-by: Zach Mitchell, PhD <zmitchell@fastmail.com>
This commit is contained in:
Alexander Groleau 2023-08-09 10:54:41 -05:00 committed by Alexander Groleau
parent c714c04a60
commit 7a9199115f

View file

@ -501,7 +501,7 @@ Nixpkgs `stdenv.mkDerivation` derivations are separated into [phases](https://ni
You saw earlier how the `stdenv.mkDerivation` expected the project's `Makefile` to have an `install` target, and failed when it didn't.
To fix this, you defined a custom `installPhase`, containing instructions for copying the `icat` binary to the correct output location, in effect installing it.
To fix this, you defined a custom `installPhase` containing instructions for copying the `icat` binary to the correct output location, in effect installing it.
Up to that point, the `stdenv.mkDerivation` automatically determined the `buildPhase` information for the `icat` package.