blob: c16de84f9992bb5ab7bb538507dd9eae9345c2d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
packageOverrides = pkgs: {
strm = pkgs.callPackage ../odin/strm.nix {};
rss2email = pkgs.rss2email.overridePythonAttrs (old: rec {
src = pkgs.fetchFromGitHub {
owner = "wking";
repo = "rss2email";
rev = "0489b589160306794f21341f767118abd91f4ece";
sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7";
};
});
haskell = pkgs.haskell // {
packages = pkgs.haskell.packages // {
ghc822 = pkgs.haskell.packages.ghc822.extend (selfH: superH: {
ListLike = pkgs.haskell.lib.overrideCabal superH.ListLike (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs or [] ++ (with selfH; [semigroups]);
});
buchhaltung = pkgs.haskell.lib.overrideCabal (superH.buchhaltung.override { inherit (selfH) ListLike; }) (oldAttrs: {
buildDepends = oldAttrs.buildDepends or [] ++ [ pkgs.makeWrapper ];
postBuild = ''
${oldAttrs.postBuild or ""}
wrapProgram $out/bin/buchhaltung \
--prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])}
'';
});
});
};
};
inherit (pkgs.haskell.packages.ghc822) buchhaltung;
} // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {});
}
|