Skip to content

Instantly share code, notes, and snippets.

@CementTheBlock
Created May 23, 2017 17:12
Show Gist options
  • Save CementTheBlock/18211dd75090f90be79df5b9a67a765f to your computer and use it in GitHub Desktop.
Save CementTheBlock/18211dd75090f90be79df5b9a67a765f to your computer and use it in GitHub Desktop.
{
allowUnfree = true;
allowBroken = false;
packageOverrides = pkgs: rec {
haskellPackages = self: super: {
mkDerivation = args: super.mkDerivation (args // {
# enableLibraryProfiling = true;
});
};
haskellEnv = ({ name, paths }:
pkgs.buildEnv {
inherit name;
paths = [ (pkgs.haskellPackages.ghcWithHoogle paths) pkgs.graphviz ];
ignoreCollisions = true;
});
haskellPkgs = haskellEnv {
name = "haskellPkgs";
paths = p: with p; [
base containers bytestring bytestring-mmap
text text-icu parsec parsers trifecta free
comonad scotty mtl transformers binary cereal
HFuse svg-tree X11 rasterific-svg
pipes diagrams-rasterific pipes-concurrency
cabal-install
];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment