treewide: installFlags is a list

This commit is contained in:
Robin Gloster
2019-11-05 02:10:31 +01:00
committed by Jan Tojnar
parent 133103d709
commit 2157dcd141
70 changed files with 86 additions and 91 deletions

View File

@@ -50,11 +50,11 @@ else stdenv.mkDerivation {
buildInputs = stdenv.lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") unzip;
# linux-specific
installFlags = stdenv.lib.optionalString (isLinux)
installFlags = stdenv.lib.optional isLinux
"prefix=$(out)";
patchPhase = stdenv.lib.optionalString (isLinux)
patchPhase = stdenv.lib.optionalString isLinux
"${gnused}/bin/sed -i 's/ldconfig//' Makefile";
postInstall = stdenv.lib.optionalString (isLinux)
postInstall = stdenv.lib.optionalString isLinux
"mv -v share $out";
passthru = {