Skip to content

Instantly share code, notes, and snippets.

@LnL7
Last active August 29, 2015 14: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 LnL7/a676ae16feddce03be74 to your computer and use it in GitHub Desktop.
Save LnL7/a676ae16feddce03be74 to your computer and use it in GitHub Desktop.
{ pkgs }:
{
allowBroken = true;
allowUnfree = true;
haskellPackageOverrides = self : super : (let inherit (pkgs.haskell-ng) lib; in {
shake = lib.dontCheck super.shake;
zip-archive = lib.dontCheck super.zip-archive;
});
packageOverrides = pkgs : rec {
haskellEnv = pkgs.haskellngPackages.ghcWithPackages (p : with p; [
ghc cabal2nix cabal-install alex happy
]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment