pituicat/shell.nix

17 lines
575 B
Nix
Raw Normal View History

2022-05-13 14:33:25 +00:00
{ pkgs ? import <nixpkgs> {}}:
2020-08-30 15:53:03 +00:00
let
2022-05-13 14:33:25 +00:00
# create a modified haskell package set with my package inside it and broken dependencies
# jailbroken.
hpkgs = pkgs.haskellPackages.override {
overrides = hself: hsuper: {
pituicat = hself.callCabal2nix "mateamt" (gitignore ./.) {};
affection = hself.callCabal2nix "affection" (gitignore ../affection) {};
#pg-transact = with pkgs.haskell.lib;
# doJailbreak (unmarkBroken (dontCheck hsuper.pg-transact));
};
};
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
2020-08-30 15:53:03 +00:00
in
2022-05-13 14:33:25 +00:00
hpkgs.pituicat.env