From 988c56ee115a74ff1878fe8713f68c57c43d4e23 Mon Sep 17 00:00:00 2001 From: Michael Brantley Date: Thu, 10 May 2018 08:55:53 -0400 Subject: 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. --- pkgs/top-level/perl-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/top-level') 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"; -- cgit 1.4.1