From c3ef7065b9f019d1a791f32cf27b631950ccf8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Mon, 10 Dec 2018 01:03:20 +0000 Subject: [PATCH] Explained the declare command, as it may be unfamiliar. --- pills/07-working-derivation.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pills/07-working-derivation.xml b/pills/07-working-derivation.xml index 4e69877..e40284b 100644 --- a/pills/07-working-derivation.xml +++ b/pills/07-working-derivation.xml @@ -65,6 +65,9 @@ + The command declare -xp + lists exported variables. + (declare is a builtin bash function.) As we covered in the previous pill, Nix computes the output path of the derivation. The resulting .drv file contains a list of environment variables passed to the builder. One of these is