Low-level derivations: Difference between revisions

DoggoBit (talk | contribs)
Standard environment: fix highlighting
DoggoBit (talk | contribs)
Nixpkgs utilities: fix highlighting
Line 159: Line 159:
Even further up the chain of abstractions, [[Nixpkgs]] contains many pre-built utilities for us that handle some of the configuration involved in the standard environment as well. In our case, we can use the <code>writeShellScript</code>:
Even further up the chain of abstractions, [[Nixpkgs]] contains many pre-built utilities for us that handle some of the configuration involved in the standard environment as well. In our case, we can use the <code>writeShellScript</code>:


{{File|example.nix|nix|highlight=11|
{{File|example.nix|nix|
{ pkgs ? import <nixpkgs> {} }:
{ pkgs ? import <nixpkgs> {} }: