Nix (language): Difference between revisions
imported>Profpatsch Add the Nix Tour |
imported>Mic92 No edit summary |
||
Line 310: | Line 310: | ||
} | } | ||
</syntaxHighlight> | </syntaxHighlight> | ||
'''In a default.nix of an external package''': | '''In a default.nix of an external package''': | ||
<syntaxHighlight | <syntaxHighlight lang=nix> | ||
with import <nixpkgs> {}; | with import <nixpkgs> {}; | ||
stdenv.mkDerivation rec { | stdenv.mkDerivation rec { |