treewide: configureFlags is a flat list
This commit is contained in:
@@ -11,12 +11,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0rffpzxcak19k6cngpxn73khvm3z1gswrqs90ycdzzb53p05ddas";
|
||||
};
|
||||
|
||||
buildInputs = optional gifview [ xorgproto libXt libX11 ];
|
||||
buildInputs = optionals gifview [ xorgproto libXt libX11 ];
|
||||
|
||||
configureFlags = []
|
||||
++ optional (!gifview) [ "--disable-gifview" ];
|
||||
configureFlags = optional (!gifview) "--disable-gifview";
|
||||
|
||||
LDFLAGS = optional static "-static";
|
||||
LDFLAGS = optionalString static "-static";
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
|
||||
@@ -52,7 +52,7 @@ stdenv.mkDerivation {
|
||||
configureFlags = [
|
||||
"--with-ltdl-lib=${libtool.lib}/lib"
|
||||
"--with-ltdl-include=${libtool}/include"
|
||||
] ++ stdenv.lib.optional (xorg == null) [ "--without-x" ];
|
||||
] ++ stdenv.lib.optional (xorg == null) "--without-x";
|
||||
|
||||
inherit patches;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user