diff options
Diffstat (limited to 'pkgs/applications/networking/ids')
-rw-r--r-- | pkgs/applications/networking/ids/suricata/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/ids/suricata/default.nix b/pkgs/applications/networking/ids/suricata/default.nix index bf7626759b36..e10c87e683cb 100644 --- a/pkgs/applications/networking/ids/suricata/default.nix +++ b/pkgs/applications/networking/ids/suricata/default.nix @@ -121,7 +121,7 @@ stdenv.mkDerivation rec { postConfigure = '' # Avoid unintended clousure growth. - sed -i 's|/nix/store/\(.\{8\}\)[^-]*-|/nix/store/\1...-|g' ./src/build-info.h + sed -i 's|${builtins.storeDir}/\(.\{8\}\)[^-]*-|${builtins.storeDir}/\1...-|g' ./src/build-info.h ''; hardeningDisable = [ "stackprotector" ]; |