Last active
May 12, 2020 09:20
-
-
Save sorki/609bfe527490978fca667d54ad18dabb to your computer and use it in GitHub Desktop.
ghcjs
This file contains 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
self: super: | |
let src = "https://github.com/sorki/git-post-receive/archive/master.tar.gz"; | |
ovr = (import "${builtins.fetchTarball src}/overlay.nix"); | |
in { | |
haskellPackages = super.haskellPackages.override (old: { | |
overrides = super.lib.composeExtensions (old.overrides or (_: _: { })) | |
ovr; | |
}); | |
ghcjs = super.haskell.packages.ghcjs.override { | |
overrides = helf: huper: (ovr helf huper // (with self.haskell.lib; { | |
mkDerivation = args: huper.mkDerivation (args // { doHaddock = false; }); | |
#mkDerivation = args: huper.mkDerivation (args // { doCheck = false; doHaddock = false; }); | |
#miso = (disableCabalFlag huper.miso "jsaddle"); | |
miso = (huper.callCabal2nix "miso" /home/srk/git/miso {}); | |
http-types = dontCheck huper.http-types; | |
servant = dontCheck huper.servant; | |
comonad = dontCheck huper.comonad; | |
# failing | |
QuickCheck = dontCheck huper.QuickCheck; | |
base-compat-batteries = dontCheck huper.base-compat-batteries; | |
Glob = dontCheck huper.Glob; | |
scientific = dontCheck huper.scientific; | |
# hangs | |
monad-par = dontCheck huper.monad-par; | |
tasty-quickcheck = dontCheck huper.tasty-quickcheck; | |
time-compat= dontCheck huper.time-compat; | |
http-media = dontCheck huper.http-media; | |
text-short = dontCheck huper.text-short; | |
criterion = dontCheck huper.criterion; | |
})); | |
}; | |
/*super.haskell.packages.ghcjs86.override (old: { | |
overrides = super.lib.composeExtensions (old.overrides or (_: _: { })) | |
ovr; | |
});*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment