mc: fix lib.optional being passed a list

This commit is contained in:
Sandro Jäckel 2023-02-14 23:27:11 +01:00
parent 34f3085148
commit 422e537bee
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

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;