diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-22 12:29:49 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-22 12:29:49 +0200 |
commit | 07f00aaa7f19c346060f383f500fb0ad3319d58a (patch) | |
tree | 386ba582f6924601201181eb7dd593db1af28c38 /users | |
parent | daf410a7313237d64dcce785461bcdcadc086c8b (diff) | |
download | nixos-07f00aaa7f19c346060f383f500fb0ad3319d58a.tar nixos-07f00aaa7f19c346060f383f500fb0ad3319d58a.tar.gz nixos-07f00aaa7f19c346060f383f500fb0ad3319d58a.tar.bz2 nixos-07f00aaa7f19c346060f383f500fb0ad3319d58a.tar.xz nixos-07f00aaa7f19c346060f383f500fb0ad3319d58a.zip |
...
Diffstat (limited to 'users')
-rw-r--r-- | users/gkleen@odin.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/users/gkleen@odin.nix b/users/gkleen@odin.nix index a52713cd..9fb2d5b4 100644 --- a/users/gkleen@odin.nix +++ b/users/gkleen@odin.nix | |||
@@ -9,24 +9,5 @@ | |||
9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; | 9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; |
10 | }; | 10 | }; |
11 | }); | 11 | }); |
12 | |||
13 | haskell = pkgs.haskell // { | ||
14 | packages = pkgs.haskell.packages // { | ||
15 | ghc822 = pkgs.haskell.packages.ghc822.extend (selfH: superH: { | ||
16 | ListLike = pkgs.haskell.lib.overrideCabal superH.ListLike (oldAttrs: { | ||
17 | libraryHaskellDepends = (oldAttrs.libraryHaskellDepends or []) ++ (with selfH; [semigroups]); | ||
18 | }); | ||
19 | }); | ||
20 | }; | ||
21 | }; | ||
22 | |||
23 | buchhaltung = pkgs.haskell.lib.overrideCabal pkgs.haskell.packages.ghc822.buchhaltung (oldAttrs: { | ||
24 | buildDepends = (oldAttrs.buildDepends or []) ++ [ pkgs.makeWrapper ]; | ||
25 | postBuild = '' | ||
26 | ${oldAttrs.postBuild or ""} | ||
27 | wrapProgram $out/bin/buchhaltung \ | ||
28 | --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} | ||
29 | ''; | ||
30 | }); | ||
31 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); | 12 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); |
32 | } | 13 | } |