diff options
author | Robert Scott <code@humanleg.org.uk> | 2024-01-21 16:00:54 +0000 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2024-02-24 12:00:11 +0000 |
commit | 1cae11c0fc716d0a2ae83b6916e90fa538714308 (patch) | |
tree | 24dd48b6ee1e3f50a10ffa790b18ec4bf8b20e50 /pkgs/tools/misc/coreutils | |
parent | 12970b96ed55cf36a0d3f8cb49b7ea621077f43d (diff) |
coreutils: disable trivialautovarinit hardening flag
Diffstat (limited to 'pkgs/tools/misc/coreutils')
-rw-r--r-- | pkgs/tools/misc/coreutils/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 24e25e584d4ba..388dcd428c717 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -104,6 +104,8 @@ stdenv.mkDerivation rec { # TODO(@Ericson2314): Investigate whether Darwin could benefit too ++ optional (isCross && stdenv.hostPlatform.libc != "glibc") libiconv; + hardeningDisable = [ "trivialautovarinit" ]; + configureFlags = [ "--with-packager=https://nixos.org" ] ++ optional (singleBinary != false) ("--enable-single-binary" + optionalString (isString singleBinary) "=${singleBinary}") |