Skip to content

Instantly share code, notes, and snippets.

@sorki
Last active May 12, 2020 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorki/609bfe527490978fca667d54ad18dabb to your computer and use it in GitHub Desktop.
Save sorki/609bfe527490978fca667d54ad18dabb to your computer and use it in GitHub Desktop.
ghcjs
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