elfutils: optionals is to be used when a list is provided

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

View file

@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
++ lib.optional stdenv.hostPlatform.isMusl autoreconfHook
++ lib.optional (enableDebuginfod || stdenv.hostPlatform.isMusl) pkg-config;
buildInputs = [ zlib bzip2 xz ]
++ lib.optional stdenv.hostPlatform.isMusl [
++ lib.optionals stdenv.hostPlatform.isMusl [
argp-standalone
musl-fts
musl-obstack