diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 10:15:24 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 10:15:24 +0200 |
commit | 3231a6e6f074dbac7b57a3761052b48d4445f0b1 (patch) | |
tree | eb0e4e95fa27fb40f4af9d37c8f6dc1d3ca5a3ba /users/gkleen@odin.nix | |
parent | 2fd7f8aa0a08628b26efed3b6a3464545b1a6da3 (diff) | |
download | nixos-3231a6e6f074dbac7b57a3761052b48d4445f0b1.tar nixos-3231a6e6f074dbac7b57a3761052b48d4445f0b1.tar.gz nixos-3231a6e6f074dbac7b57a3761052b48d4445f0b1.tar.bz2 nixos-3231a6e6f074dbac7b57a3761052b48d4445f0b1.tar.xz nixos-3231a6e6f074dbac7b57a3761052b48d4445f0b1.zip |
...
Diffstat (limited to 'users/gkleen@odin.nix')
-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 | } |