From bb296bb319a1d9a0050577dfed96e30298390db7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 7 Nov 2015 19:24:34 +0000 Subject: Working math support --- shell.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index e17c3e6..9e363eb 100644 --- a/shell.nix +++ b/shell.nix @@ -3,8 +3,9 @@ pkgs.stdenv.mkDerivation rec { name = "dirty-haskell"; - buildInputs = [ (import ./default.nix {}).dirty-haskell-wrapper - ]; + buildInputs = with (import ./default.nix {}); [ dirty-haskell-wrapper + (pkgs.haskellPackages.ghcWithPackages (p: with p; [ regex-tdfa ])) + ]; shellHook = '' export PROMPT_INFO=${name} ''; -- cgit v1.2.3