Skip to content

Commit

Permalink
GHCJS 8.10.7 and some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 12, 2021
1 parent 4f12c74 commit 6be885e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
5 changes: 3 additions & 2 deletions nix/pkgs/haskell/haskell.nix
Expand Up @@ -21,7 +21,7 @@
, cabalProjectLocal ? null
}@args:
let
compiler-nix-name = if topLevelPkgs.stdenv.hostPlatform.isGhcjs then "ghc8105" else args.compiler-nix-name;
compiler-nix-name = if topLevelPkgs.stdenv.hostPlatform.isGhcjs then "ghc8107" else args.compiler-nix-name;
r-packages = with rPackages; [ R tidyverse dplyr stringr MASS plotly shiny shinyjs purrr ];
project = haskell-nix.cabalProject' ({ pkgs, ... }: {
inherit compiler-nix-name;
Expand Down Expand Up @@ -427,9 +427,10 @@ let
cardano-crypto-class.components.library.pkgconfig = lib.mkForce [ [ libsodium-vrf ] ];
};
})
# For
# For GHCJS
({ pkgs, ... }: lib.mkIf (pkgs.stdenv.hostPlatform.isGhcjs) {
packages = {
lzma.components.library.libs = lib.mkForce [ pkgs.buildPackages.lzma ];
cardano-crypto-praos.components.library.pkgconfig = lib.mkForce [ [ pkgs.buildPackages.libsodium-vrf ] ];
cardano-crypto-class.components.library.pkgconfig = lib.mkForce [ [ pkgs.buildPackages.libsodium-vrf ] ];
plutus-core.ghcOptions = [ "-Wno-unused-packages" ];
Expand Down
32 changes: 16 additions & 16 deletions nix/pkgs/haskell/materialized-ghcjs/default.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6be885e

Please sign in to comment.