diff options
-rw-r--r-- | users/gkleen@odin.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/users/gkleen@odin.nix b/users/gkleen@odin.nix index 0427b1d6..5353551a 100644 --- a/users/gkleen@odin.nix +++ b/users/gkleen@odin.nix | |||
@@ -9,13 +9,13 @@ | |||
9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; | 9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; |
10 | }; | 10 | }; |
11 | }); | 11 | }); |
12 | buchhaltung = pkgs.symlinkJoin { | 12 | buchhaltung = pkgs.haskell.lib.overrideCabal pkgs.haskell."ghc822".packages.buchhaltung (oldAttrs: { |
13 | inherit (pkgs.haskellPackages.buchhaltung) name; | 13 | buildInputs = oldAttrs.buildInputs or [] ++ [ pkgs.makeWrapper ]; |
14 | paths = pkgs.haskellPackages.buchhaltung; | ||
15 | postBuild = '' | 14 | postBuild = '' |
15 | ${oldAttrs.postBuild or ""} | ||
16 | wrapProgram $out/bin/buchhaltung \ | 16 | wrapProgram $out/bin/buchhaltung \ |
17 | --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} | 17 | --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} |
18 | ''; | 18 | ''; |
19 | }; | 19 | }); |
20 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); | 20 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); |
21 | } | 21 | } |