diff options
author | Robin Gloster <mail@glob.in> | 2019-11-03 22:57:05 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-31 00:24:02 +0100 |
commit | ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7 (patch) | |
tree | 34bf16554d1c576517907a525f6a0b251bf7fa2f /pkgs/development/compilers/gcc | |
parent | 65712df184aaa6da1030e872a122c16f7d52585e (diff) | |
download | nixlib-ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7.tar nixlib-ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7.tar.gz nixlib-ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7.tar.bz2 nixlib-ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7.tar.lz nixlib-ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7.tar.xz nixlib-ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7.tar.zst nixlib-ba0a3edf7ff15fdcc534bcf7180bf2c1d8f964e7.zip |
stdenv: installTargets is a list
Diffstat (limited to 'pkgs/development/compilers/gcc')
-rw-r--r-- | pkgs/development/compilers/gcc/8/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
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"; |