mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
treewide: installTargets is a list
This commit is contained in:
parent
ba0a3edf7f
commit
755db0b689
@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
installTargets = "tags install";
|
||||
installTargets = [ "tags" "install" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/emacs/site-lisp
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
|
||||
patches = [ ./10_fix_buffer_overflow_wordole_c.patch ];
|
||||
|
||||
installTargets = "global_install";
|
||||
installTargets = [ "global_install" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.winfield.demon.nl/;
|
||||
|
@ -225,10 +225,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
|
||||
|
||||
installTargets =
|
||||
if stripped
|
||||
then "install-strip"
|
||||
else "install";
|
||||
installTargets = optional stripped "install-strip";
|
||||
|
||||
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
|
||||
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
|
||||
|
@ -231,10 +231,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
|
||||
|
||||
installTargets =
|
||||
if stripped
|
||||
then "install-strip"
|
||||
else "install";
|
||||
installTargets = optional stripped "install-strip";
|
||||
|
||||
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
|
||||
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
|
||||
|
@ -242,10 +242,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
|
||||
|
||||
installTargets =
|
||||
if stripped
|
||||
then "install-strip"
|
||||
else "install";
|
||||
installTargets = optional stripped "install-strip";
|
||||
|
||||
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
|
||||
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
|
||||
|
@ -250,10 +250,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
|
||||
|
||||
installTargets =
|
||||
if stripped
|
||||
then "install-strip"
|
||||
else "install";
|
||||
installTargets = optional stripped "install-strip";
|
||||
|
||||
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
|
||||
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
|
||||
|
@ -221,10 +221,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
|
||||
|
||||
installTargets =
|
||||
if stripped
|
||||
then "install-strip"
|
||||
else "install";
|
||||
installTargets = optional stripped "install-strip";
|
||||
|
||||
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
|
||||
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
|
||||
|
@ -207,10 +207,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
dontStrip = !stripped;
|
||||
|
||||
installTargets =
|
||||
if stripped
|
||||
then "install-strip"
|
||||
else "install";
|
||||
installTargets = optional stripped "install-strip";
|
||||
|
||||
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
|
||||
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
|
||||
|
@ -24,7 +24,7 @@
|
||||
, configureFlags ? [], configurePhase ? "", preConfigure ? "", postConfigure ? ""
|
||||
, buildPhase ? "", preBuild ? "", postBuild ? ""
|
||||
, installPhase ? "", preInstall ? "", postInstall ? ""
|
||||
, installTargets ? "install install-docs"
|
||||
, installTargets ? [ "install" "install-docs" ]
|
||||
, checkPhase ? "", preCheck ? "", postCheck ? ""
|
||||
, fixupPhase ? "", preFixup ? "", postFixup ? ""
|
||||
, meta ? {}
|
||||
@ -141,7 +141,7 @@ in stdenv.mkDerivation ({
|
||||
// optionalAttrs (preCheck != "") { inherit preCheck; }
|
||||
// optionalAttrs (postCheck != "") { inherit postCheck; }
|
||||
// optionalAttrs (installPhase != "") { inherit installPhase; }
|
||||
// optionalAttrs (installTargets != "") { inherit installTargets; }
|
||||
// optionalAttrs (installTargets != []) { inherit installTargets; }
|
||||
// optionalAttrs (preInstall != "") { inherit preInstall; }
|
||||
// optionalAttrs (fixupPhase != "") { inherit fixupPhase; }
|
||||
// optionalAttrs (preFixup != "") { inherit preFixup; }
|
||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
preInstall = "rm libcryptopp.a"; # built for checks but we don't install static lib into the nix store
|
||||
installTargets = "install-lib";
|
||||
installTargets = [ "install-lib" ];
|
||||
installFlags = [ "LDCONF=true" ];
|
||||
postInstall = optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
ln -sr $out/lib/libcryptopp.so.${version} $out/lib/libcryptopp.so.${versions.majorMinor version}
|
||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
buildFlags = stdenv.lib.optional stdenv.isDarwin "LDFLAGS= CFLAGS_EXTRA=";
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
installTargets = if stdenv.isDarwin then "install-osx" else "install";
|
||||
installTargets = stdenv.lib.optional stdenv.isDarwin "install-osx";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
installTargets = "ocamlfind-install";
|
||||
installTargets = [ "ocamlfind-install" ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-libtool-opts=${stdenv.lib.optionalString enableShared "-shared"}"
|
||||
];
|
||||
|
||||
installTargets = "install${stdenv.lib.optionalString withLibrary "-full"}";
|
||||
installTargets = [ "install${stdenv.lib.optionalString withLibrary "-full"}" ];
|
||||
|
||||
meta = {
|
||||
homepage = https://invisible-island.net/dialog/dialog.html;
|
||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace foomaticrip.c --replace /bin/bash ${stdenv.shell}
|
||||
'';
|
||||
|
||||
installTargets = "install-cups";
|
||||
installTargets = [ "install-cups" ];
|
||||
|
||||
installFlags = [
|
||||
"CUPS_FILTERS=$(out)/lib/cups/filter"
|
||||
|
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
preInstall = ''
|
||||
mkdir -p "$out/lib/udev/rules.d"
|
||||
'';
|
||||
installTargets = "install udev-install";
|
||||
installTargets = [ "install" "udev-install" ];
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
# Perl for running test suite.
|
||||
buildInputs = [ perl ];
|
||||
|
||||
installTargets = "install install.man";
|
||||
installTargets = [ "install" "install.man" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
"--disable-checks"
|
||||
];
|
||||
|
||||
installTargets = "install-staged"; # install does also try to change permissions of /etc/* files
|
||||
installTargets = [ "install-staged" ]; # install does also try to change permissions of /etc/* files
|
||||
|
||||
# fcron tries to install pid into system directory on install
|
||||
installFlags = [
|
||||
|
@ -11242,7 +11242,7 @@ let
|
||||
|
||||
outputs = [ "out" "dev" ]; # no "devdoc"
|
||||
|
||||
installTargets = "install";
|
||||
installTargets = [ "install" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.mhonarc.org/";
|
||||
@ -20609,7 +20609,7 @@ let
|
||||
};
|
||||
propagatedBuildInputs = [ XMLParser XMLSAX ];
|
||||
# Avoid creating perllocal.pod, which contains a timestamp
|
||||
installTargets = "pure_install";
|
||||
installTargets = [ "pure_install" ];
|
||||
meta = {
|
||||
description = "SAX Driver for Expat";
|
||||
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
||||
|
Loading…
Reference in New Issue
Block a user