coreutils: disable trivialautovarinit hardening flag

This commit is contained in:
Robert Scott 2024-01-21 16:00:54 +00:00
parent 12970b96ed
commit 1cae11c0fc

View File

@ -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}")