Created
June 6, 2019 03:45
-
-
Save mjrosenb/68166ebf630a6ac128f7234df158801f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
overlay = self: super: | |
{ | |
haskell = super.haskell // { | |
packages = super.haskell.packages // { | |
ghcjs = super.haskell.packages.ghcjs.extend (hself: hsuper: { | |
# Doctest fails to build with a strange error. | |
doctest = null; | |
# These require doctest to run their tests. | |
http-types = super.haskell.lib.dontCheck hsuper.http-types; | |
servant = super.haskell.lib.dontCheck hsuper.servant; | |
lens = super.haskell.lib.dontCheck hsuper.lens; | |
comonad = super.haskell.lib.dontCheck hsuper.comonad; | |
semigroupoids = super.haskell.lib.dontCheck hsuper.semigroupoids; | |
# These have test suites which hang indefinitely. | |
scientific = super.haskell.lib.dontCheck hsuper.scientific; | |
tasty-quickcheck = super.haskell.lib.dontCheck hsuper.tasty-quickcheck; | |
}); | |
}; | |
}; | |
}; | |
nixpkgs-source = builtins.fetchTarball { | |
url = "https://releases.nixos.org/nixos/18.09/nixos-18.09.1922.97e0d53d669/nixexprs.tar.xz"; | |
sha256 = "0jl72zcsap4xjh483mjyvhmim45ghklw3pqr8mp0khwvh83422z6"; | |
}; | |
nixpkgs = import nixpkgs-source { | |
overlays = [overlay]; | |
}; | |
in | |
nixpkgs.haskell.packages.ghcjs.callCabal2nix "match-rex" ./. {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment