From ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 3 Nov 2019 22:57:05 +0100 Subject: stdenv: installTargets is a list --- pkgs/development/compilers/gcc/8/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pkgs/development/compilers/gcc') diff --git a/pkgs/development/compilers/gcc/8/default.nix b/pkgs/development/compilers/gcc/8/default.nix index c9302cc4f740..c6b785f84a4e 100644 --- a/pkgs/development/compilers/gcc/8/default.nix +++ b/pkgs/development/compilers/gcc/8/default.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"; -- cgit 1.4.1