treewide: configureFlags is a flat list

This commit is contained in:
Robin Gloster
2019-12-31 01:37:49 +01:00
committed by Jan Tojnar
parent e9c27ed5f9
commit 6ca6ac796b
18 changed files with 39 additions and 50 deletions
+3 -4
View File
@@ -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 = ''