frame: Fix 'lib.optional' use
Produces a list-of-lists in buildInputs
This commit is contained in:
parent
d2ef0577c5
commit
e08599567a
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
stdenv pkgconfig
|
||||
] ++ stdenv.lib.optional enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
|
||||
] ++ stdenv.lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
|
||||
|
||||
configureFlags = stdenv.lib.optional enableX11 "--with-x11";
|
||||
|
||||
@ -21,4 +21,4 @@ stdenv.mkDerivation rec {
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user