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/katara.nix | 2 +- machines/profpatsch/pkgs.nix | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'machines') 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 # GloriousGlasgow Haskell Compiler, mostly for ghci + myPkgs.saneGhci # GloriousGlasgow 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; } -- cgit 1.4.1