From 72cd8c09ce17397b66da455381a371bf6d4bd436 Mon Sep 17 00:00:00 2001 From: Casey Ransom Date: Tue, 6 Feb 2018 17:53:34 -0500 Subject: [PATCH] v8_3_16_14: fix on darwin This was switched to use gcc5 for all platforms due to a mkSnapshot error, which fixes Linux but currently fails for Darwin. I'm unsure if there are other runtime failures, but this hasn't been building for quite some time. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 18717a3780a..45f976c5404 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11310,7 +11310,7 @@ with pkgs; v8_3_16_14 = callPackage ../development/libraries/v8/3.16.14.nix { inherit (python2Packages) python gyp; cctools = darwin.cctools; - stdenv = overrideCC stdenv gcc5; + stdenv = if stdenv.isDarwin then stdenv else overrideCC stdenv gcc5; }; v8_6_x = callPackage ../development/libraries/v8/6_x.nix {