Low-level derivations: Difference between revisions
→Standard environment: fix highlighting |
→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 | {{File|example.nix|nix| | ||
{ pkgs ? import <nixpkgs> {} }: | { pkgs ? import <nixpkgs> {} }: | ||