Skip to content

Commit

Permalink
Workaround issue with Haddock of webkit2gtk3-javascriptcore
Browse files Browse the repository at this point in the history
- See gtk2hs/webkit-javascriptcore#6
- The Haddock step of webkit2gtk3 fails. We won't miss the Haddock documentation
  for this package so we just workaround it by disabling the Haddock generation.
  • Loading branch information
sevanspowell committed Jun 29, 2022
1 parent 51ceea4 commit 9fd89b8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
builtins.trace haskellNix (flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
overlays = [ haskellNix.overlay (final: prev: {
test2 = final.haskell-nix.project' {
src = ./.;
compiler-nix-name = "ghc8104";
};
test2 = final.haskell-nix.project' {
src = ./.;
compiler-nix-name = "ghc8104";
modules = [
{ packages.webkit2gtk3-javascriptcore.doHaddock = false; }
];
};
}) ];
pkgs = import nixpkgs { inherit system overlays; };
flake = pkgs.test2.flake {};
Expand Down

0 comments on commit 9fd89b8

Please sign in to comment.