@@ -76,7 +76,7 @@ let
7676 # Inputs needed to boot the GHCJS compiler
7777 bootInputs = with pkgs.buildPackages; [
7878 # 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.
8080 nodejs-12_x
8181 makeWrapper
8282 xorg.lndir
@@ -85,7 +85,7 @@ let
8585 ]
8686 ++ [ ghc cabal-install emsdk ];
8787 # Configured the GHCJS source
88− configured-src = pkgs.runCommand "configured-ghcjs-src" {
88+ configured-src = pkgs.runCommandCC "configured-ghcjs-src" {
8989 buildInputs = configureInputs;
9090 inherit src;
9191 } ''
@@ -132,7 +132,7 @@ let
132132 # see https://github.com/ghcjs/ghcjs/issues/751 for the happy upper bound.
133133
134134 ghcjsProject = pkgs.haskell-nix.cabalProject' (
135− (pkgs.lib.filterAttrs
135+ (pkgs.lib.filterAttrs
136136 (n: _: !(builtins.any (x: x == n)
137137 ["src" "ghcjsVersion" "ghcVersion" "happy" "alex" "cabal-install"])) args) // {
138138 src = configured-src;
@@ -187,4 +187,3 @@ in ghcjsProject // {
187187 };
188188 inherit configureInputs bootInputs configured-src emscriptenupstream emscripten emsdk;
189189}
190−