diff --git a/lib/ghcjs-project.nix b/lib/ghcjs-project.nix index 9efa3ac7e7..0adcddbdd8 100644 --- a/lib/ghcjs-project.nix +++ b/lib/ghcjs-project.nix @@ -76,9 +76,6 @@ let ++ lib.optionals stdenv.isDarwin [ pkgs.buildPackages.gcc # https://github.com/ghcjs/ghcjs/issues/663 ] - ++ lib.optionals (stdenv.isDarwin && isGhcjs88) [ - pkgs.buildPackages.clang - ] ++ lib.optional isGhcjs88 [ emsdk ]; # Configured the GHCJS source configured-src = pkgs.runCommand "configured-ghcjs-src" { diff --git a/overlays/emscripten.nix b/overlays/emscripten.nix index b5b1975cc4..c4780e70ce 100644 --- a/overlays/emscripten.nix +++ b/overlays/emscripten.nix @@ -1,5 +1,6 @@ final: prev: { inherit (import final.haskell-nix.sources.nixpkgs-2003 { + system = final.stdenv.system; overlays = [(final: prev: with final; { binaryen = callPackage ./emscripten/binaryen.nix {};