Merge pull request #216384 from SuperSandro2000/mc-optional

mc: fix lib.optional being passed a list
This commit is contained in:
Artturi 2023-02-16 02:36:02 +02:00 committed by GitHub
commit 072e46841c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
openssl
slang
zip
] ++ lib.optional x11Support [ libX11 ]
] ++ lib.optionals x11Support [ libX11 ]
++ lib.optionals (!stdenv.isDarwin) [ e2fsprogs gpm ];
enableParallelBuilding = true;