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:
parent
d4e71a2321
commit
988c56ee11
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user