summaryrefslogtreecommitdiff
path: root/users/gkleen@odin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/gkleen@odin.nix')
-rw-r--r--users/gkleen@odin.nix22
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}