about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2023-10-10 04:13:29 -0400
committerGitHub <noreply@github.com>2023-10-10 10:13:29 +0200
commitb6876d5c8613c02177feb059e15ec6549e72e379 (patch)
tree23f869f1d6df8b17a2d930618c3999d36cc9cb77 /nixos
parent21de4a64c06cbef52ca16cb071300b74de6a15dc (diff)
nixos/security/wrappers: don't force PIE hardening (#259509)
PIE causes problems with static binaries on ARM (see 76552e9). It is
enabled by default on other platforms anyway when musl is used, so we
don't need to specify it manually.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/security/wrappers/wrapper.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/security/wrappers/wrapper.nix b/nixos/modules/security/wrappers/wrapper.nix
index da2fca98d5c59..27d46c630af54 100644
--- a/nixos/modules/security/wrappers/wrapper.nix
+++ b/nixos/modules/security/wrappers/wrapper.nix
@@ -5,7 +5,6 @@ stdenv.mkDerivation {
   name = "security-wrapper";
   buildInputs = [ linuxHeaders ];
   dontUnpack = true;
-  hardeningEnable = [ "pie" ];
   CFLAGS = [
     ''-DSOURCE_PROG="${sourceProg}"''
   ] ++ (if debug then [