summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-08-06 01:02:49 +0200
committertv <tv@shackspace.de>2015-08-06 01:02:49 +0200
commit1692022c670e96a78b0d452d1ecbd6cb81961391 (patch)
treef076a5b5b0ba40a63d82666b4e8a8376c3353c16
parent3e7220b417c398479e13617bd85d5c2c316c6bcd (diff)
krebs pkgs cac: leak $PATH for $PAGER
-rw-r--r--krebs/5pkgs/cac.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/cac.nix b/krebs/5pkgs/cac.nix
index 223d1ccf9..49a5bd276 100644
--- a/krebs/5pkgs/cac.nix
+++ b/krebs/5pkgs/cac.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
mkdir -p $out/bin
sed \
- 's,^\( true) \)\(cac "$@";;\)$,\1 PATH=${path} \2,' \
+ 's,^\( true) \)\(cac "$@";;\)$,\1 PATH=${path}${PATH+:$PATH} \2,' \
< ./cac \
> $out/bin/cac