blob: 5ebd30dd5494876b801eef0fe3ba3a7e7f97c5fa (
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
|
{
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: {
libraryHaskellDepends = (oldAttrs.libraryHaskellDepends or []) ++ (with selfH; [semigroups]);
});
});
};
};
buchhaltung = pkgs.haskell.lib.overrideCabal haskell.packages.ghc822.buchhaltung (oldAttrs: {
buildDepends = (oldAttrs.buildDepends or []) ++ [ pkgs.makeWrapper ];
postBuild = ''
${oldAttrs.postBuild or ""}
wrapProgram $out/bin/buchhaltung \
--prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])}
'';
});
} // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {});
}
|