Nixpkgs/Create and debug packages: Difference between revisions

imported>Bencoman
imported>Andersk
m Fix a broken GitHub link
Line 166: Line 166:
</syntaxhighlight>
</syntaxhighlight>


The phases can be defined either as a string to be eval'ed or as a shell function, [https://github.com/NixOS/nixpkgs/blob/5a0b79/pkgs/stdenv/generic/setup.sh#L818 this is how] Nix invokes it.
The phases can be defined either as a string to be eval'ed or as a shell function, [https://github.com/NixOS/nixpkgs/blob/5a0b79f955d6c2dc21239f1b0d956ef8dc89a57e/pkgs/stdenv/generic/setup.sh#L818 this is how] Nix invokes it.