Last active
May 1, 2020 19:55
-
-
Save mebubo/877a3956801abe510d6469c806908e73 to your computer and use it in GitHub Desktop.
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
let | |
pkgs = import <nixpkgs> { inherit config; }; | |
config = { | |
packageOverrides = pkgs: { | |
haskellPackages = pkgs.haskellPackages.override { | |
overrides = self: super: { | |
tmp-postgres = pkgs.haskell.lib.unmarkBroken super.tmp-postgres; | |
}; | |
}; | |
}; | |
}; | |
hp = p: with p; [ | |
base | |
hedgehog | |
lifted-base | |
monad-control | |
mtl | |
postgresql-simple | |
resource-pool | |
text | |
time | |
tmp-postgres | |
transformers | |
transformers-base | |
]; | |
ghc = pkgs.haskellPackages.ghcWithPackages hp; | |
env = pkgs.stdenv.mkDerivation { | |
name = "env"; | |
buildInputs = [ ghc pkgs.postgresql ]; | |
}; | |
haskellPackages = pkgs.haskellPackages; | |
tags = pkgs.callPackage ../haskell-sources-tags-nix/tag-sources.nix { | |
inherit pkgs haskellPackages; | |
packages = hp haskellPackages; | |
}; | |
in | |
{ inherit env tags; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment