From 08c4cb2247461fe36b2e7d7456aef0d17acd26af Mon Sep 17 00:00:00 2001 From: tzlil Date: Mon, 26 Feb 2024 19:43:39 +0200 Subject: idk what tehf uck i changed --- mixins/cli.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mixins/cli.nix') diff --git a/mixins/cli.nix b/mixins/cli.nix index db81d4b..e43f4f2 100644 --- a/mixins/cli.nix +++ b/mixins/cli.nix @@ -36,11 +36,10 @@ ( let - hs = pkgs.ghc.withPackages (p: with p; [relude pretty-simple pointfree]); + hs = pkgs.ghc.withPackages (p: with p; [pretty-simple pointfree parsec]); in pkgs.writeShellScriptBin "hs" '' exec ${hs}/bin/ghci -ghci-script ${pkgs.writeText "ghci.conf" '' - :set -XNoImplicitPrelude :set -XFlexibleContexts :set -XFlexibleInstances :set -XOverloadedStrings @@ -48,8 +47,7 @@ :set prompt "\ESC[38;5;208m\STXλ>\ESC[m\STX " :set -ferror-spans -freverse-errors -fprint-expanded-synonyms :set -interactive-print Text.Pretty.Simple.pPrint - :def pf \str -> return $ ":! ${hs}/bin/pointfree \"" ++ str ++ "\"" - import Relude''} + :def pf \str -> return $ ":! ${hs}/bin/pointfree \"" ++ str ++ "\""''} '' ) ]; -- cgit 1.4.1