Nixpkgs/Create and debug packages: Difference between revisions

imported>Jmarmstrong1207
Add == Adding custom libraries and dependencies to a package == section
imported>Jmarmstrong1207
Change method to run specific phase. runPhase was added and easier to use
Line 222: Line 222:
</syntaxhighlight>
</syntaxhighlight>


To only run some specific phases:
To only run some specific phases, use runPhase:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$ phases="buildPhase checkPhase" genericBuild
# Syntax: runPhase *phase*
$ runPhase unpackPhase
</syntaxhighlight>
</syntaxhighlight>