stdenv: installTargets is a list

wip/yesman
Robin Gloster 5 years ago committed by Jan Tojnar
parent 65712df184
commit ba0a3edf7f
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 5
      pkgs/development/compilers/gcc/8/default.nix
  2. 6
      pkgs/development/tools/misc/texinfo/common.nix

@ -208,10 +208,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";

@ -30,10 +30,8 @@ stdenv.mkDerivation {
configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
preInstall = ''
installFlags="TEXMF=$out/texmf-dist";
installTargets="install install-tex";
'';
installFlags = [ "TEXMF=$(out)/texmf-dist" ];
installTargets = [ "install" "install-tex" ];
checkInputs = [ procps ];

Loading…
Cancel
Save