[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/64: nix-shell --pure: Keep the user's $PAGER
From: |
Ludovic Courtès |
Subject: |
29/64: nix-shell --pure: Keep the user's $PAGER |
Date: |
Mon, 05 Jan 2015 16:39:00 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit 2b6c8ef40121fdc418551e9b780bb909477c9a3c
Author: Eelco Dolstra <address@hidden>
Date: Tue Apr 8 14:08:57 2014 +0200
nix-shell --pure: Keep the user's $PAGER
---
scripts/nix-build.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index 187371d..2f95e74 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -208,7 +208,7 @@ foreach my $expr (@exprs) {
# Set the environment.
if ($pure) {
foreach my $name (keys %ENV) {
- next if grep { $_ eq $name } ("HOME", "USER", "LOGNAME",
"DISPLAY", "PATH", "TERM", "IN_NIX_SHELL", "TZ");
+ next if grep { $_ eq $name } ("HOME", "USER", "LOGNAME",
"DISPLAY", "PATH", "TERM", "IN_NIX_SHELL", "TZ", "PAGER");
delete $ENV{$name};
}
# NixOS hack: prevent /etc/bashrc from sourcing /etc/profile.
- 12/64: Fix compile errors on Illumos, (continued)
- 12/64: Fix compile errors on Illumos, Ludovic Courtès, 2015/01/05
- 13/64: Document that we require a C++11 compiler, Ludovic Courtès, 2015/01/05
- 16/64: Remove unnecessary quotes around file names, Ludovic Courtès, 2015/01/05
- 08/64: Don't set an absolute soname, Ludovic Courtès, 2015/01/05
- 15/64: Include position info in function application, Ludovic Courtès, 2015/01/05
- 14/64: Update release notes, Ludovic Courtès, 2015/01/05
- 18/64: forceInt: Show position info, Ludovic Courtès, 2015/01/05
- 19/64: forceList: Show position info, Ludovic Courtès, 2015/01/05
- 21/64: forceString: Show position info, Ludovic Courtès, 2015/01/05
- 25/64: Show position info in attribute selection errors, Ludovic Courtès, 2015/01/05
- 29/64: nix-shell --pure: Keep the user's $PAGER,
Ludovic Courtès <=
- 27/64: Update release notes, Ludovic Courtès, 2015/01/05
- 26/64: Install systemd units, Ludovic Courtès, 2015/01/05
- 20/64: forceAttrs: Show position info, Ludovic Courtès, 2015/01/05
- 22/64: derivation: Don't require certain function arguments, Ludovic Courtès, 2015/01/05
- 30/64: Update installation instructions, Ludovic Courtès, 2015/01/05
- 23/64: Show position info in string concatenation / addition errors, Ludovic Courtès, 2015/01/05
- 35/64: Don't barf when installing as root, Ludovic Courtès, 2015/01/05
- 31/64: Remove redundant stuff, Ludovic Courtès, 2015/01/05
- 24/64: Show position info in Boolean operations, Ludovic Courtès, 2015/01/05
- 38/64: Fix test evaluation, Ludovic Courtès, 2015/01/05