about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-02-10 19:10:09 +0100
committerProfpatsch <mail@profpatsch.de>2017-02-10 19:11:46 +0100
commite944c9baf5844c0163a4947af1535ea45e524e12 (patch)
treed24f4e38cb56ddac4e06e9aef943b2d864772faf /machines
parent8bb3d6460c4fe402cab73389b7c4c8bf699a0eba (diff)
machines/katara: improve ghci in PATH with default packages
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/katara.nix2
-rw-r--r--machines/profpatsch/pkgs.nix6
2 files changed, 6 insertions, 2 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix
index 069ecb04..cceaee0c 100644
--- a/machines/profpatsch/katara.nix
+++ b/machines/profpatsch/katara.nix
@@ -126,7 +126,7 @@ in {
         emacs                # pretty neat operating system i guess
         feh                  # brother of meh, displays images in a meh way, but fast
         filezilla            # FTP GUI business-ready interface framework
-        ghc                  # <s>Glorious</s>Glasgow Haskell Compiler, mostly for ghci
+        myPkgs.saneGhci      # <s>Glorious</s>Glasgow Haskell Compiler, mostly for ghci
         gimp                 # graphics
         gmpc                 # mpd client and best music player interface in the world
         inkscape             # vector graphics
diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix
index 740785f3..45ce34f4 100644
--- a/machines/profpatsch/pkgs.nix
+++ b/machines/profpatsch/pkgs.nix
@@ -67,5 +67,9 @@ let
   searx = pkgs.pythonPackages.searx.overrideDerivation (old: {
     patches = old.patches or [] ++ [ ./patches/searx_secret_key.patch ];
   });
+
+  # A ghci with some sane default packages in scope, & hoogle
+  saneGhci = haskellPackages.ghcWithHoogle (h: with h; [ protolude ]);
+
 in
-{ inherit taffybar sent mpv beets poezio vim fast-init xmpp-client searx; }
+{ inherit taffybar sent mpv beets poezio vim fast-init xmpp-client searx saneGhci; }