From f91a6f17f81133b1782c6484c91ada7afa7dfbc2 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 26 Dec 2015 17:58:59 +0100 Subject: katara: taffybar environment --- machines/profpatsch/katara.nix | 9 ++++----- machines/profpatsch/pkgs.nix | 12 +++++++++--- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'machines/profpatsch') diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index 72e88539..9b837e83 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -147,8 +147,7 @@ in { # needs user service redshift # increases screen warmth at night (so i don’t have to feel cold) ]; - in systemPkgs ++ xPkgs ++ guiPkgs ++ userPrograms ++ mailPkgs ++ nixPkgs ++ tmpPkgs; - + in systemPkgs ++ xPkgs ++ guiPkgs ++ userPrograms ++ nixPkgs ++ mailPkgs ++ nixPkgs ++ tmpPkgs; system.extraDependencies = with pkgs; lib.singleton ( # Haskell packages I want to keep around haskellPackages.ghcWithPackages (hpkgs: with hpkgs; @@ -159,14 +158,14 @@ in { gtk frpnow-gtk frpnow-gloss + taffybar.env ])) ++ # other packages that I use sometimes in a shell [ - wkhtmltopdf + #wkhtmltopdf ]; - ########### # Services @@ -309,7 +308,7 @@ in { # Misc # TODO seems to work only sometimes in chromium - security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ]; + # security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ]; ######## # Fixes diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix index 9605cf2b..ff6a2280 100644 --- a/machines/profpatsch/pkgs.nix +++ b/machines/profpatsch/pkgs.nix @@ -1,8 +1,14 @@ { pkgs }: -{ - offlineimap = with pkgs; offlineimap.overrideDerivation (old: { - propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ [ pythonPackages.pygpgme ]; +let + addRuntimeDeps = drv: ds: drv.overrideDerivation (old: { + propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ ds; }); +in +with pkgs; +{ + + offlineimap = addRuntimeDeps offlineimap [ pythonPackages.pygpgme ]; + } -- cgit 1.4.1