summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Brantley <limeytexan@gmail.com>2018-05-10 08:55:53 -0400
committerRobert Helgesson <robert@rycee.net>2018-05-10 16:06:44 +0200
commit988c56ee115a74ff1878fe8713f68c57c43d4e23 (patch)
tree13d91962ea705c9d8f8a130d661879dda5126917
parentd4e71a2321f04b590d58eb2292934214c20a4bca (diff)
downloadnixlib-988c56ee115a74ff1878fe8713f68c57c43d4e23.tar
nixlib-988c56ee115a74ff1878fe8713f68c57c43d4e23.tar.gz
nixlib-988c56ee115a74ff1878fe8713f68c57c43d4e23.tar.bz2
nixlib-988c56ee115a74ff1878fe8713f68c57c43d4e23.tar.lz
nixlib-988c56ee115a74ff1878fe8713f68c57c43d4e23.tar.xz
nixlib-988c56ee115a74ff1878fe8713f68c57c43d4e23.tar.zst
nixlib-988c56ee115a74ff1878fe8713f68c57c43d4e23.zip
perlPackages.Paranoid: employ more restrictive blessed path
Decided it would be better to employ an even more restrictive default
"blessed" path by only including the coreutils package bin directory.
-rw-r--r--pkgs/top-level/perl-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index 5237f2a2c8e1..46006366f192 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -11964,7 +11964,7 @@ let self = _self // overrides; _self = with self; {
     preConfigure = ''
       # Capture the path used when compiling this module as the "blessed"
       # system path, analogous to the module's own use of '/bin:/sbin'.
-      sed -i "s#__BLESSED_PATH__#$PATH#" lib/Paranoid.pm t/01_init_core.t
+      sed -i "s#__BLESSED_PATH__#${pkgs.coreutils}/bin#" lib/Paranoid.pm t/01_init_core.t
     '';
     meta = {
       description = "General function library for safer, more secure programming";