Packaging/Tutorial: Difference between revisions

imported>Makefu
add link to nixpkgs manual
imported>TheKK
Update path to cd after unpack phase
Line 17: Line 17:
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
$ unpackPhase
$ unpackPhase
$ cd DIR_AFTER_UNPACK
$ cd $sourceRoot # $sourceRoot is created in unpack phase, see https://nixos.org/manual/nixpkgs/stable/#ssec-unpack-phase for details.
$ patchPhase
$ patchPhase
$ configurePhase
$ configurePhase