diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 10:11:25 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 10:11:25 +0200 |
commit | 7279ff4a63ea4e7a2a95ca51e4c860f2cbd1d55b (patch) | |
tree | c0130b275a17838cf6f438bc648d88e40fe37db5 | |
parent | ac9bbbbe1ff7baeaff37f0c96e5bd55e9031c81c (diff) | |
download | nixos-7279ff4a63ea4e7a2a95ca51e4c860f2cbd1d55b.tar nixos-7279ff4a63ea4e7a2a95ca51e4c860f2cbd1d55b.tar.gz nixos-7279ff4a63ea4e7a2a95ca51e4c860f2cbd1d55b.tar.bz2 nixos-7279ff4a63ea4e7a2a95ca51e4c860f2cbd1d55b.tar.xz nixos-7279ff4a63ea4e7a2a95ca51e4c860f2cbd1d55b.zip |
buchhaltung ?
-rw-r--r-- | users/gkleen@odin.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/users/gkleen@odin.nix b/users/gkleen@odin.nix index 2a57b392..12ff5959 100644 --- a/users/gkleen@odin.nix +++ b/users/gkleen@odin.nix | |||
@@ -9,13 +9,19 @@ | |||
9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; | 9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; |
10 | }; | 10 | }; |
11 | }); | 11 | }); |
12 | buchhaltung = pkgs.haskell.lib.overrideCabal pkgs.haskell.packages."ghc821".buchhaltung (oldAttrs: { | 12 | haskell = pkgs.haskell // { |
13 | buildDepends = oldAttrs.buildDepends or [] ++ [ pkgs.makeWrapper ]; | 13 | packages = pkgs.haskell.packages // { |
14 | postBuild = '' | 14 | ghc822 = ghc822.extend (superH: selfH: { |
15 | ${oldAttrs.postBuild or ""} | 15 | buchhaltung = pkgs.haskell.lib.overrideCabal superH.buchhaltung (oldAttrs: { |
16 | wrapProgram $out/bin/buchhaltung \ | 16 | buildDepends = oldAttrs.buildDepends or [] ++ [ pkgs.makeWrapper ]; |
17 | --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} | 17 | postBuild = '' |
18 | ''; | 18 | ${oldAttrs.postBuild or ""} |
19 | }); | 19 | wrapProgram $out/bin/buchhaltung \ |
20 | --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} | ||
21 | ''; | ||
22 | }); | ||
23 | }; | ||
24 | }; | ||
25 | }; | ||
20 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); | 26 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); |
21 | } | 27 | } |