Skip to content

Commit

Permalink
Fix for ghcjs 8.8 build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Dec 17, 2020
1 parent 8a185f0 commit 1accb2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions lib/ghcjs-project.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
1 change: 1 addition & 0 deletions overlays/emscripten.nix
Original file line number Diff line number Diff line change
@@ -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 {};

Expand Down

0 comments on commit 1accb2c

Please sign in to comment.