diff options
-rw-r--r-- | machines/profpatsch/katara.nix | 7 | ||||
-rw-r--r-- | machines/profpatsch/pkgs.nix | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index af1db3f3..4488867b 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -1,10 +1,7 @@ { config, pkgs, lib, ... }: let - offlineimapGPG = pkgs.offlineimap.overrideDerivation (old: { - propagatedBuildInputs = old.propagatedBuildInputs - ++ lib.singleton pkgs.pythonPackages.pygpgme; - }); + myPkgs = import ./pkgs.nix { inherit pkgs; }; mytexlive = with pkgs.texlive; combine { inherit scheme-medium minted units collection-bibtexextra; }; @@ -150,7 +147,7 @@ in { ]; mailPkgs = [ elinks - offlineimapGPG + myPkgs.offlineimap mutt-with-sidebar # TODO mutt-kz msmtp notmuch diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix new file mode 100644 index 00000000..9605cf2b --- /dev/null +++ b/machines/profpatsch/pkgs.nix @@ -0,0 +1,8 @@ +{ pkgs }: +{ + + offlineimap = with pkgs; offlineimap.overrideDerivation (old: { + propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ [ pythonPackages.pygpgme ]; + }); + +} |