mateamt/shell.nix

16 lines
492 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));
};
};
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