diff options
Diffstat (limited to 'users')
| -rw-r--r-- | users/gkleen@odin.nix | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/users/gkleen@odin.nix b/users/gkleen@odin.nix index ac7d823c..a75b5715 100644 --- a/users/gkleen@odin.nix +++ b/users/gkleen@odin.nix | |||
| @@ -9,19 +9,13 @@ | |||
| 9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; | 9 | sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; |
| 10 | }; | 10 | }; |
| 11 | }); | 11 | }); |
| 12 | haskell = pkgs.haskell // { | 12 | buchhaltung = pkgs.haskell.lib.overrideCabal pkgs.haskell.packages."ghc822".buchhaltung (oldAttrs: { |
| 13 | packages = pkgs.haskell.packages // { | 13 | buildDepends = oldAttrs.buildDepends or [] ++ [ pkgs.makeWrapper ]; |
| 14 | ghc822 = pkgs.haskell.packages.ghc822.extend (superH: selfH: { | 14 | postBuild = '' |
| 15 | buchhaltung = pkgs.haskell.lib.overrideCabal superH.buchhaltung (oldAttrs: { | 15 | ${oldAttrs.postBuild or ""} |
| 16 | buildDepends = oldAttrs.buildDepends or [] ++ [ pkgs.makeWrapper ]; | 16 | wrapProgram $out/bin/buchhaltung \ |
| 17 | postBuild = '' | 17 | --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} |
| 18 | ${oldAttrs.postBuild or ""} | 18 | ''; |
| 19 | wrapProgram $out/bin/buchhaltung \ | 19 | }); |
| 20 | --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} | ||
| 21 | ''; | ||
| 22 | }); | ||
| 23 | }); | ||
| 24 | }; | ||
| 25 | }; | ||
| 26 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); | 20 | } // (import ../utils/nix/default.nix) pkgs (import <nixpkgs> {}); |
| 27 | } | 21 | } |
