From 438e02529dfb4b26603e2a06992df977cd80ecd9 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Wed, 1 Aug 2018 21:28:49 -0400 Subject: Allows selectively adding environment variables to pure shells. Includes documentation and test. --- doc/manual/command-ref/nix-shell.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml index 62d026ac2..5c44c4a8f 100644 --- a/doc/manual/command-ref/nix-shell.xml +++ b/doc/manual/command-ref/nix-shell.xml @@ -32,6 +32,7 @@ cmd regexp + name @@ -165,6 +166,13 @@ also . + name + + When a shell is started, + keep the listed environment variables. + + + The following common options are supported: -- cgit v1.2.3