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.
This commit is contained in:
Michael Brantley 2018-05-10 08:55:53 -04:00 committed by Robert Helgesson
parent d4e71a2321
commit 988c56ee11
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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";