@@ -76,7 +76,7 @@ let
76 # Inputs needed to boot the GHCJS compiler
76 # Inputs needed to boot the GHCJS compiler
77 bootInputs = with pkgs.buildPackages; [
77 bootInputs = with pkgs.buildPackages; [
78 # pin nodejs to the 12 series for now, as strings can only be half the length in node 14+
78 # pin nodejs to the 12 series for now, as strings can only be half the length in node 14+
79− # see https://github.com/nodejs/node/issues/33960, this can break large TH splices for now.
79+ # see https://github.com/nodejs/node/issues/33960, this can break large TH splices for now.
80 nodejs-12_x
80 nodejs-12_x
81 makeWrapper
81 makeWrapper
82 xorg.lndir
82 xorg.lndir
@@ -85,7 +85,7 @@ let
86 ++ [ ghc cabal-install emsdk ];
86 ++ [ ghc cabal-install emsdk ];
87 # Configured the GHCJS source
87 # Configured the GHCJS source
88− configured-src = pkgs.runCommand "configured-ghcjs-src" {
88+ configured-src = pkgs.runCommandCC "configured-ghcjs-src" {
89 buildInputs = configureInputs;
89 buildInputs = configureInputs;
90 inherit src;
90 inherit src;
@@ -132,7 +132,7 @@ let
132 # see https://github.com/ghcjs/ghcjs/issues/751 for the happy upper bound.
132 # see https://github.com/ghcjs/ghcjs/issues/751 for the happy upper bound.
134 ghcjsProject = pkgs.haskell-nix.cabalProject' (
134 ghcjsProject = pkgs.haskell-nix.cabalProject' (
135− (pkgs.lib.filterAttrs
135+ (pkgs.lib.filterAttrs
136 (n: _: !(builtins.any (x: x == n)
136 (n: _: !(builtins.any (x: x == n)
137 ["src" "ghcjsVersion" "ghcVersion" "happy" "alex" "cabal-install"])) args) // {
137 ["src" "ghcjsVersion" "ghcVersion" "happy" "alex" "cabal-install"])) args) // {
138 src = configured-src;
138 src = configured-src;
@@ -187,4 +187,3 @@ in ghcjsProject // {
188 inherit configureInputs bootInputs configured-src emscriptenupstream emscripten emsdk;
188 inherit configureInputs bootInputs configured-src emscriptenupstream emscripten emsdk;