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
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
70 changed files with 86 additions and 91 deletions

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
installFlags = "PREFIX=$(out)";
installFlags = [ "PREFIX=$(out)" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz";
};
installFlags = "PREFIX=$(out) INSTALL=install";
installFlags = [ "PREFIX=$(out)" "INSTALL=install" ];
buildInputs = []
++ stdenv.lib.optional stdenv.isDarwin IOKit;

View file

@ -19,9 +19,7 @@ stdenv.mkDerivation rec {
})
];
installFlags = ''
DESTDIR=$(out)
'';
installFlags = [ "DESTDIR=$(out)" ];
fixupPhase = ''
cp -r $out/var/empty/local/lib $out

View file

@ -56,9 +56,8 @@ stdenv.mkDerivation rec {
cp Contrib/emacs/taskjug.el $out/share/emacs/site-lisp/
'';
installFlags =
# kde_locale is not defined when installing without kde.
"kde_locale=\${out}/share/locale";
# kde_locale is not defined when installing without kde.
installFlags = [ "kde_locale=\${out}/share/locale" ];
meta = {
homepage = http://www.taskjuggler.org;

View file

@ -31,10 +31,8 @@ stdenv.mkDerivation rec {
"-fpermissive"
];
preInstall = ''
installTargets="$out"
installFlags+=" SWIFT_INSTALLDIR=$out"
'';
installTargets = [ (placeholder "out") ];
installFlags = [ "SWIFT_INSTALLDIR=${placeholder "out"}" ];
meta = with stdenv.lib; {
homepage = https://swift.im/;

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
doCheck = false;
installFlags = "HOME=\${out} install-doc";
installFlags = [ "HOME=\${out}" "install-doc" ];
postInstall = ''
wrapProgram $out/bin/git-remote-hg \

View file

@ -114,7 +114,7 @@ stdenv.mkDerivation {
# WARNING: Do not `rm` or `mv` files from the source tree; use `cp` instead.
# We need many of these files during the installCheckPhase.
installFlags = "NO_INSTALL_HARDLINKS=1";
installFlags = [ "NO_INSTALL_HARDLINKS=1" ];
preInstall = (stdenv.lib.optionalString stdenv.isDarwin ''
mkdir -p $out/bin

View file

@ -23,7 +23,7 @@ let
buildInputs = [ erlang ];
installFlags = "PREFIX=$(out)/lib/erlang/lib";
installFlags = [ "PREFIX=$(out)/lib/erlang/lib" ];
meta = {
description = "WebDriver implementation in Erlang";

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "0pzd9ig3ahpgq7jbj82grllxx1v01d620insr2m8h0c6jj25n5hv";
};
nativeBuildInputs = [ bison flex pkg-config libpng ];
installFlags = "PREFIX=\${out}";
installFlags = [ "PREFIX=\${out}" ];
meta = with stdenv.lib; {
homepage = https://rednex.github.io/rgbds/;

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation {
preConfigure = "patchShebangs ./configure";
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
passthru = {
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation {
preConfigure = "patchShebangs ./configure";
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
passthru = {
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation {
preConfigure = "patchShebangs ./configure";
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
passthru = {
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.5";

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation {
preConfigure = "patchShebangs ./configure";
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
passthru = {
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
patches = [./0001-changes-to-work-with-Coq-8.6.patch];
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = with stdenv.lib; {
homepage = https://www.ps.uni-saarland.de/autosubst/;

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation {
buildInputs = with coq.ocamlPackages; [ ocaml camlp5 findlib coq ];
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = with stdenv.lib; {
license = licenses.lgpl2;

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ which ];
buildInputs = [ coq coq.ocaml ] ++ (with coq.ocamlPackages; [ findlib elpi ]);
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = {
description = "Coq plugin embedding ELPI.";

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = with stdenv.lib; {
homepage = https://github.com/coq-ext-lib/coq-ext-lib;

View file

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ bignums ];
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = with stdenv.lib; {
description = "Library to certify primality using Pocklington certificate and Elliptic Curve Certificate";

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = {
homepage = http://c-corn.github.io/;

View file

@ -41,10 +41,10 @@ stdenv.mkDerivation {
mkdir -p $out/bin
'';
installFlags = ''
COQLIB=$(out)/lib/coq/${coq.coq-version}/
BINDIR=$(out)/bin
'';
installFlags = [
"COQLIB=$(out)/lib/coq/${coq.coq-version}/"
"BINDIR=$(out)/bin"
];
meta = {
description = "Build dependency graphs between Coq objects";

View file

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
preBuild = "coq_makefile -f _CoqProject -o Makefile";
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = with stdenv.lib; {
homepage = https://mattam82.github.io/Coq-Equations/;

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
preBuild = "cd src";
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}" ];
meta = with stdenv.lib; {
homepage = https://www.mpi-sws.org/~gil/Heq/;

View file

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
coq.ocamlPackages.camlp5
;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = {
description = "A robust and expressive tactic language for Coq";

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ coq bignums ];
enableParallelBuilding = true;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = with stdenv.lib; {
homepage = https://math-classes.github.io;

View file

@ -74,7 +74,7 @@ versions = {
core-deps = with coqPackages; [ mathcomp-field_1_9 ];
extra-deps = with coqPackages; [ mathcomp_1_9-bigenough ];
};
};
};
"1.8.0" = {
finmap.version = "1.2.1";
bigenough.version = "1.0.0";
@ -154,7 +154,7 @@ packageGen = {
propagatedBuildInputs = [ coq ] ++ mc-core-deps ++ extra-deps;
installFlags = "-f Makefile.coq COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "-f" "Makefile.coq" "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = {
inherit description;

View file

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
++ (with coq.ocamlPackages; [ ocaml findlib camlp5 ])
;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
passthru = {
compatibleCoqVersions = v: builtins.hasAttr v params;

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ coq ];
installFlags = "CONTRIB=$(out)/lib/coq/${coq.coq-version}/user-contrib";
installFlags = [ "CONTRIB=$(out)/lib/coq/${coq.coq-version}/user-contrib" ];
meta = {
homepage = "http://www.chargueraud.org/softs/tlc/";

View file

@ -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"
'';

View file

@ -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

View file

@ -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 = ''

View file

@ -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;

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 = {

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-libcurl" ]; # optional but strongly recommended
installFlags = "prefix=$(out)";
installFlags = [ "prefix=$(out)" ];
preCheck = ''
patchShebangs test/

View file

@ -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";

View file

@ -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";

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ocaml findlib ];
installFlags = "LIBDIR=$(OCAMLFIND_DESTDIR)";
installFlags = [ "LIBDIR=$(OCAMLFIND_DESTDIR)" ];
createFindlibDestdir = true;

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation {
createFindlibDestdir = true;
dontBuild = true;
installFlags = "-C src";
installFlags = [ "-C" "src" ];
meta = with stdenv.lib; {
homepage = http://gallium.inria.fr/~fpottier/pprint/;

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true;
installFlags = "LIBDIR=$(OCAMLFIND_DESTDIR)";
installFlags = [ "LIBDIR=$(OCAMLFIND_DESTDIR)" ];
meta = {
description = "A simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language";

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation {
dontBuild = true;
installFlags = "PREFIX=$(out)";
installFlags = [ "PREFIX=$(out)" ];
dontStrip = true;

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation {
postPatch = "sed -e 's,/usr/bin/install,install,g' -i src/Makefile";
preBuild = "cd src";
installFlags = "DESTDIR=$(out)";
installFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
license = licenses.gpl3Plus;

View file

@ -57,7 +57,7 @@ let noweb = stdenv.mkDerivation rec {
# HACK: This is ugly, but functional.
PATH=$out/bin:$PATH make -BC xdoc
make $installFlags install-man
make "''${installFlags[@]}" install-man
ln -s "$tex" "$out/share/texmf"
'';

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true;
dontStrip = true;
installFlags = "SEMVER=${version} PREFIX=$(out)";
installFlags = [ "SEMVER=${version}" "PREFIX=$(out)" ];
meta = with stdenv.lib; {
homepage = https://github.com/afiniate/trv;

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses5 ];
installFlags = "bindir=$(out)/bin";
installFlags = [ "bindir=$(out)/bin" ];
meta = with stdenv.lib; {
homepage = http://rephial.org/;

View file

@ -26,11 +26,10 @@ stdenv.mkDerivation rec {
installTargets = "install-cups";
installFlags =
''
CUPS_FILTERS=$(out)/lib/cups/filter
CUPS_BACKENDS=$(out)/lib/cups/backend
'';
installFlags = [
"CUPS_FILTERS=$(out)/lib/cups/filter"
"CUPS_BACKENDS=$(out)/lib/cups/backend"
];
meta = {
description = "Foomatic printing filters";

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ xorgproto libX11 libXext libXrandr ];
installFlags = "DESTDIR=\${out} PREFIX=";
installFlags = [ "DESTDIR=\${out}" "PREFIX=" ];
postPatch = "sed -i '/chmod u+s/d' Makefile";

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-xmlto" ];
installFlags = "ASOUND_STATE_DIR=$(TMPDIR)/dummy";
installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ];
meta = with stdenv.lib; {
homepage = http://www.alsa-project.org/;

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-xmlto" "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ];
installFlags = "ASOUND_STATE_DIR=$(TMPDIR)/dummy";
installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ];
meta = with stdenv.lib; {
homepage = http://www.alsa-project.org/;

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "DESTDIR=$(out)"];
installFlags = ''PREFIX=""'';
installFlags = [ "PREFIX=\"\"" ];
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/linuxconsole/;

View file

@ -61,7 +61,7 @@ stdenv.mkDerivation {
doInstallCheck = false; # same
separateDebugInfo = true;
installFlags = "install install-man ASCIIDOC8=1 prefix=$(out)";
installFlags = [ "install" "install-man" "ASCIIDOC8=1" "prefix=$(out)" ];
preFixup = ''
wrapProgram $out/bin/perf \

View file

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
--replace 'man_prefix=$(prefix)' "man_prefix=$doc"
'';
installFlags = "RAISE_SETFCAP=no";
installFlags = [ "RAISE_SETFCAP=no" ];
postInstall = ''
rm "$lib"/lib/*.a

View file

@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-shared" ];
installFlags = "etcdir=$(out)/etc vardir=$(out)/var/lib/isns";
installTargets = "install install_hdrs install_lib";
installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ];
installTargets = [ "install" "install_hdrs" "install_lib" ];
meta = {
description = "iSNS server and client for Linux";

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
makefile = "Makefile.psm";
makeFlags = [ "PAXBIN=${paxctl}/bin/paxctl" "BINDIR=$(out)/bin" "RUNDIR=$(out)/lib/paxtest" ];
installFlags = ''DESTDIR=""'';
installFlags = [ "DESTDIR=\"\"" ];
meta = with stdenv.lib; {
description = "Test various memory protection measures";

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation {
NIX_CFLAGS_COMPILE = "-DSYSV";
installFlags = "BINDIR=$(out)/sbin MANDIR=$(out)/share/man INSTALL=install";
installFlags = [ "BINDIR=$(out)/sbin" "MANDIR=$(out)/share/man" "INSTALL=install" ];
preConfigure =
''

View file

@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" "doc" ];
installFlags = "PREFIX=$(out) RMQ_ERLAPP_DIR=$(out)";
installTargets = "install install-man";
installFlags = [ "PREFIX=$(out)" "RMQ_ERLAPP_DIR=$(out)" ];
installTargets = [ "install" "install-man" ];
runtimePath = stdenv.lib.makeBinPath [getconf erlang socat];
postInstall = ''

View file

@ -16,8 +16,9 @@ stdenv.mkDerivation rec {
--replace '-$GIT' ""
'';
installFlags = [ "LIBEXECDIR=${placeholder "out"}/modules" ];
preInstall = ''
installFlags="LIBEXECDIR=$out/modules $installFlags"
mkdir -p $out/modules $out/bin
'';

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zsh ];
installFlags = "PREFIX=$(out)";
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Fish shell like syntax highlighting for Zsh";

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
*/
patches = [ ./0001-makefile-fix-installation.patch ];
installFlags = "DESTDIR=$(out)";
installFlags = [ "DESTDIR=$(out)" ];
meta = {
homepage = http://members.chello.nl/~k.holtman/afio.html;

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
preBuild = "substituteInPlace Makefile --replace g++ c++";
installFlags = "PREFIX=$(out)";
installFlags = [ "PREFIX=$(out)" ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=reserved-user-defined-literal";

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation {
#patches = [ ./purity.patch ];
# To prevent make install from failing.
preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
installFlags = [ "OWNER=" "GROUP=" "confdir=${placeholder "out"}/etc" ];
# Install systemd stuff.
#installTargets = "install install_systemd_generators install_systemd_units install_tmpfiles_configuration";

View file

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
cd squashfs-tools
'';
installFlags = "INSTALL_DIR=\${out}/bin";
installFlags = [ "INSTALL_DIR=\${out}/bin" ];
makeFlags = [ "XZ_SUPPORT=1" ]
++ stdenv.lib.optional lz4Support "LZ4_SUPPORT=1";

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation {
preBuild = "cd squashfs-tools";
installFlags = "INSTALL_DIR=\${out}/bin";
installFlags = [ "INSTALL_DIR=\${out}/bin" ];
makeFlags = [ "XZ_SUPPORT=1" "ZSTD_SUPPORT=1" ]
++ stdenv.lib.optional lz4Support "LZ4_SUPPORT=1";

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ git ronn ];
installFlags = "DESTDIR=$(out)";
installFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
homepage = https://github.com/schlomo/automirror;

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DIFCONFIGPATH=\"${nettools}/bin/\"";
installFlags = "prefix=\${out}";
installFlags = [ "prefix=\${out}" ];
meta = {
homepage = http://code.kryo.se/iodine/;

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
EOF
'';
installFlags = "SYSCONFDIR=$(out)/etc";
installFlags = [ "SYSCONFDIR=$(out)/etc" ];
postInstall = ''
wrapProgram "$out/sbin/resolvconf" --set PATH "${coreutils}/bin"

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation {
--replace '$(INSTALL) -s' '$(INSTALL) -s --strip-program $(STRIP)'
'';
installFlags = "etcdir=$(out)/etc";
installFlags = [ "etcdir=$(out)/etc" ];
installTargets = [ "install" "install-sendmail" ];

View file

@ -12,8 +12,8 @@ stdenv.mkDerivation {
};
buildInputs = [ libxml2 file p7zip unrar unzip ];
buildFlags = if stdenv.cc.isClang then [ "CC=clang" ] else null;
installFlags = "PREFIX=\${out}";
buildFlags = stdenv.lib.optional stdenv.cc.isClang "CC=clang";
installFlags = [ "PREFIX=\${out}" ];
patchPhase = ''
substituteInPlace rarcrack.c --replace "file -i" "${file}/bin/file -i"

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
];
installFlags = "sysconfdir=$(out)/etc localstatedir=$(TMPDIR)";
installFlags = [ "sysconfdir=$(out)/etc" "localstatedir=$(TMPDIR)" ];
meta = {
homepage = "https://www.ucolick.org/~will/#super";

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
substituteInPlace docs/Makefile --replace /usr/share /share
'';
installFlags = "DESTDIR=$(out)";
installFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
description = "A pre-kernel/VMM module that uses Intel(R) TXT to perform a measured and verified launch of an OS kernel/VMM";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ groff ];
installFlags = ''DESTDIR=$(out)'';
installFlags = [ "DESTDIR=$(out)" ];
postConfigure = ''
sed -e s@/usr/man/@/share/man/@ -i Makefile

View file

@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
unpackPhase = "tar xf $src";
installTargets = "install install.man";
installFlags = "BINDIR=$(out)/bin MANDIR=$(out)/share/man/man1";
installTargets = [ "install" "install.man" ];
installFlags = [ "BINDIR=$(out)/bin" "MANDIR=$(out)/share/man/man1" ];
preBuild = ''
sed -i '1i#include <stdlib.h>\n#include <string.h>' untex.c
mkdir -p $out/bin $out/share/man/man1