treewide: installFlags is a list

This commit is contained in:
Robin Gloster
2019-12-30 13:22:43 +01:00
committed by Jan Tojnar
parent 133103d709
commit 2157dcd141
70 changed files with 86 additions and 91 deletions
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libpng libjpeg ];
nativeBuildInputs = [ makeWrapper ];
installFlags = "PREFIX=/ DESTDIR=$(out)";
installFlags = [ "PREFIX=/" "DESTDIR=$(out)" ];
postInstall = ''
wrapProgram "$out/bin/2ff" --prefix PATH : "${file}/bin"
'';
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
doCheck = true;
# Don't try to write to /var/cache/fontconfig at install time.
installFlags = "sysconfdir=$(out)/etc fc_cachedir=$(TMPDIR)/dummy RUN_FC_CACHE_TEST=false";
installFlags = [ "sysconfdir=$(out)/etc" "fc_cachedir=$(TMPDIR)/dummy" "RUN_FC_CACHE_TEST=false" ];
passthru = {
# Empty for backward compatibility, there was no versioning before 2.11
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optionals (!javaSupport) [ "--disable-java" "--without-java" ];
patches = [ ./libguestfs-syms.patch ];
NIX_CFLAGS_COMPILE="-I${libxml2.dev}/include/libxml2/";
installFlags = "REALLY_INSTALL=yes";
installFlags = [ "REALLY_INSTALL=yes" ];
enableParallelBuilding = true;
postInstall = ''
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
sourceRoot = "OSM-binary-1.3.3/src";
installFlags = "PREFIX=$(out)";
installFlags = [ "PREFIX=$(out)" ];
meta = {
homepage = https://github.com/scrosby/OSM-binary;
@@ -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 = {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-libcurl" ]; # optional but strongly recommended
installFlags = "prefix=$(out)";
installFlags = [ "prefix=$(out)" ];
preCheck = ''
patchShebangs test/
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0ax02fzqpaxr7d30l5xbndy1s5vgg1ag643c7zwiw2wj1czrxil8";
};
installFlags = "INSTBASEDIR=$(out)";
installFlags = [ "INSTBASEDIR=$(out)" ];
meta = with stdenv.lib; {
description = "A library for displaying messages";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0yd6bl6qw675sxa81nxw6plhpjf9d2ywlm8a5z66zyjf28sl7sds";
};
installFlags = "INSTBASEDIR=$(out)";
installFlags = [ "INSTBASEDIR=$(out)" ];
meta = with stdenv.lib; {
description = "A library for parsing command line options";