stdenv: installTargets is a list

This commit is contained in:
Robin Gloster
2019-11-03 22:57:05 +01:00
committed by Jan Tojnar
parent 65712df184
commit ba0a3edf7f
2 changed files with 3 additions and 8 deletions

View File

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