Skip to content

Instantly share code, notes, and snippets.

@matthew-piziak
Created March 31, 2020 20:19
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 matthew-piziak/48bb5cf9f5b3524e97e2b8f26069c8fc to your computer and use it in GitHub Desktop.
Save matthew-piziak/48bb5cf9f5b3524e97e2b8f26069c8fc to your computer and use it in GitHub Desktop.
overlay = self: super: {
haskellPackages = with self.haskell.lib;
super.haskellPackages.override (old: {
overrides = self.lib.composeExtensions (old.overrides or (_: _: { })) (hself: hsuper: {
hpack = self.haskell.lib.dontCheck
(self.haskell.packages.ghc865.callHackage "hpack" "0.31.2" { });
stack2cabal = self.haskell.packages.ghc865.stack2cabal;
});
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment