mateamt/shell.nix

20 lines
720 B
Nix
Raw Normal View History

2022-02-03 16:14:13 +00:00
{ pkgs ? import <nixpkgs> {}}:
2021-06-09 22:14:39 +00:00
let
2022-02-03 16:14:13 +00:00
# create a modified haskell package set with my package inside it and broken dependencies
# jailbroken.
hpkgs = pkgs.haskellPackages.override {
overrides = hself: hsuper: {
mateamt = hself.callCabal2nix "mateamt" (gitignore ./.) {};
pg-transact = with pkgs.haskell.lib;
doJailbreak (unmarkBroken (dontCheck hsuper.pg-transact));
2022-04-15 11:59:17 +00:00
hspec-wai-json = with pkgs.haskell.lib;
doJailbreak (unmarkBroken (dontCheck hsuper.hspec-wai-json));
token-bucket = with pkgs.haskell.lib;
doJailbreak (unmarkBroken (dontCheck hsuper.token-bucket));
2022-02-03 16:14:13 +00:00
};
};
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
2021-06-09 22:14:39 +00:00
in
2022-02-03 16:14:13 +00:00
hpkgs.mateamt.env