treewide: installFlags is a list
This commit is contained in:
parent
133103d709
commit
2157dcd141
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
installFlags = "PREFIX=$(out)";
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -19,9 +19,7 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
installFlags = ''
|
||||
DESTDIR=$(out)
|
||||
'';
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
fixupPhase = ''
|
||||
cp -r $out/var/empty/local/lib $out
|
||||
|
|
|
@ -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";
|
||||
installFlags = [ "kde_locale=\${out}/share/locale" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.taskjuggler.org;
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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" ];
|
||||
|
|
|
@ -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" ];
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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" ];
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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/";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
|||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
installFlags = "LIBDIR=$(OCAMLFIND_DESTDIR)";
|
||||
installFlags = [ "LIBDIR=$(OCAMLFIND_DESTDIR)" ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
|||
|
||||
dontBuild = true;
|
||||
|
||||
installFlags = "PREFIX=$(out)";
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
'';
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "DESTDIR=$(out)"];
|
||||
|
||||
installFlags = ''PREFIX=""'';
|
||||
installFlags = [ "PREFIX=\"\"" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://sourceforge.net/projects/linuxconsole/;
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 =
|
||||
''
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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/;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue