Nixpkgs/Create and debug packages: Difference between revisions
imported>Ar1a m update nix-env -i to -iA |
imported>Lionello Add example of "eval" for manual phase invocation |
||
Line 194: | Line 194: | ||
installCheckPhase | installCheckPhase | ||
distPhase | distPhase | ||
</syntaxhighlight> | |||
Any overridden phases should be invoked using '''eval''' instead: | |||
<syntaxhighlight lang="bash"> | |||
eval "$checkPhase" | |||
# etc.. | |||
</syntaxhighlight> | </syntaxhighlight> | ||