From ad6e13fcfb4db7da4999d951109a8baef4ccb62e Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 9 Feb 2021 00:22:57 +0000 Subject: [PATCH] elfutils: split outputs gdb does not need elfutils binaries and only access the libdebuginfod.so --- pkgs/development/tools/misc/elfutils/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/misc/elfutils/default.nix b/pkgs/development/tools/misc/elfutils/default.nix index 5d85ff166a5d..8954ff2bc426 100644 --- a/pkgs/development/tools/misc/elfutils/default.nix +++ b/pkgs/development/tools/misc/elfutils/default.nix @@ -54,6 +54,8 @@ stdenv.mkDerivation rec { }) ] ++ lib.optional stdenv.hostPlatform.isMusl [ ./musl-error_h.patch ]; + outputs = [ "bin" "dev" "out" "man" ]; + hardeningDisable = [ "format" ]; # We need bzip2 in NativeInputs because otherwise we can't unpack the src,