diff options
author | Michael Brantley <limeytexan@gmail.com> | 2018-05-10 08:55:53 -0400 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2018-05-10 16:06:44 +0200 |
commit | 988c56ee115a74ff1878fe8713f68c57c43d4e23 (patch) | |
tree | 13d91962ea705c9d8f8a130d661879dda5126917 /pkgs/top-level | |
parent | d4e71a2321f04b590d58eb2292934214c20a4bca (diff) | |
download | nixlib-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.
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 2 |
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"; |