diff --git a/bin/test b/bin/test index 73de3ed..50a8f27 100755 --- a/bin/test +++ b/bin/test @@ -2,4 +2,4 @@ set -xe # NOTE: ghcid should be run with -W to allow warnings from should-not-typecheck -nix-shell --pure --run "ghcid $* -W -c 'cabal new-repl test:jrec-test' -T \":main $*\"" +nix develop -c sh -c "ghcid $* -W -c 'cabal new-repl test:jrec-test' -T \":main $*\"" diff --git a/flake.nix b/flake.nix index edf4e3d..62908da 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,7 @@ packages = p: [ p.jrec ]; buildInputs = with ghcVersions.ghc92; [ cabal-install + ghcid haskell-language-server ]; };