From e944c9baf5844c0163a4947af1535ea45e524e12 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 10 Feb 2017 19:10:09 +0100 Subject: machines/katara: improve ghci in PATH with default packages --- machines/profpatsch/pkgs.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'machines/profpatsch/pkgs.nix') 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; } -- cgit 1.4.1