treewide: installTargets is a list

This commit is contained in:
Robin Gloster
2019-12-31 00:25:26 +01:00
committed by Jan Tojnar
parent ba0a3edf7f
commit 755db0b689
18 changed files with 20 additions and 38 deletions
@@ -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";