From 7c019e133f0c3a5f9d26a94c77d240d6151d064d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 9 Aug 2018 17:06:45 +0200 Subject: cleanup --- users/gkleen@odin.nix | 8 ++++---- 1 file 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 @@ sha256 = "02a4py7zx9ib49kijpjckya1pb8xlb3gmp7s1dybsdjmwqbdyzx7"; }; }); - buchhaltung = pkgs.symlinkJoin { - inherit (pkgs.haskellPackages.buchhaltung) name; - paths = pkgs.haskellPackages.buchhaltung; + buchhaltung = pkgs.haskell.lib.overrideCabal pkgs.haskell."ghc822".packages.buchhaltung (oldAttrs: { + buildInputs = oldAttrs.buildInputs or [] ++ [ pkgs.makeWrapper ]; postBuild = '' + ${oldAttrs.postBuild or ""} wrapProgram $out/bin/buchhaltung \ --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ aqbanking dbacl ])} ''; - }; + }); } // (import ../utils/nix/default.nix) pkgs (import {}); } -- cgit v1.2.3