summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/6/default.nix
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-05-02 15:40:38 -0500
committerGitHub <noreply@github.com>2018-05-02 15:40:38 -0500
commiteeb016e8f0d8934dc33db7666d841e4b85713c9a (patch)
tree4a99561053ba51db60a75389e483784543b105ff /pkgs/development/compilers/gcc/6/default.nix
parentb4d9113fbf7ad3a09f5caa8f8fc4a9229128f1e5 (diff)
parent3513034208aac88004e4798020cb66540a77ddad (diff)
downloadnixlib-eeb016e8f0d8934dc33db7666d841e4b85713c9a.tar
nixlib-eeb016e8f0d8934dc33db7666d841e4b85713c9a.tar.gz
nixlib-eeb016e8f0d8934dc33db7666d841e4b85713c9a.tar.bz2
nixlib-eeb016e8f0d8934dc33db7666d841e4b85713c9a.tar.lz
nixlib-eeb016e8f0d8934dc33db7666d841e4b85713c9a.tar.xz
nixlib-eeb016e8f0d8934dc33db7666d841e4b85713c9a.tar.zst
nixlib-eeb016e8f0d8934dc33db7666d841e4b85713c9a.zip
Merge branch 'staging' into fix-ncurses-darwin-extensions
Diffstat (limited to 'pkgs/development/compilers/gcc/6/default.nix')
-rw-r--r--pkgs/development/compilers/gcc/6/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc/6/default.nix b/pkgs/development/compilers/gcc/6/default.nix
index b99ab8fce7fb..e2d69c059829 100644
--- a/pkgs/development/compilers/gcc/6/default.nix
+++ b/pkgs/development/compilers/gcc/6/default.nix
@@ -167,7 +167,7 @@ let version = "6.4.0";
           "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
         ]));
     stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
-    crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+    crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
 
     bootstrap = targetPlatform == hostPlatform;
 
@@ -177,7 +177,7 @@ in
 assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
 
 stdenv.mkDerivation ({
-  name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
+  name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
 
   builder = ../builder.sh;
 
@@ -403,6 +403,8 @@ stdenv.mkDerivation ({
   buildFlags =
     optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
 
+  doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
+
   installTargets =
     if stripped
     then "install-strip"