elfutils: pkg-config can't be included twice

Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
This commit is contained in:
Arthur Gautier 2021-03-25 16:45:21 +00:00 committed by Emery Hemingway
parent f124e219f8
commit 7b57403c03

View File

@ -61,8 +61,8 @@ stdenv.mkDerivation rec {
# We need bzip2 in NativeInputs because otherwise we can't unpack the src,
# as the host-bzip2 will be in the path.
nativeBuildInputs = [ m4 bison flex gettext bzip2 ]
++ lib.optional stdenv.hostPlatform.isMusl [ pkg-config autoreconfHook ]
++ lib.optional enableDebuginfod [ pkg-config ];
++ lib.optional stdenv.hostPlatform.isMusl autoreconfHook
++ lib.optional (enableDebuginfod || stdenv.hostPlatform.isMusl) pkg-config;
buildInputs = [ zlib bzip2 xz ]
++ lib.optional stdenv.hostPlatform.isMusl [
argp-standalone