on master help sign in
bin/test: flake'ify
commitd1515540b934c96ed159cd6ee2c805614e3a0727 authorSridhar Ratnakumar <srid@srid.ca> dateSun 12 Mar 2023, 20:52 (4 years ago) parent4485427
2 files changed+2−1
bin/test+1−1 flake.nix+1
bin/test+1−1
@@ -2,4 +2,4 @@
22set -xe
33
44# NOTE: ghcid should be run with -W to allow warnings from should-not-typecheck
5−nix-shell --pure --run "ghcid $* -W -c 'cabal new-repl test:jrec-test' -T \":main $*\""
5+nix develop -c sh -c "ghcid $* -W -c 'cabal new-repl test:jrec-test' -T \":main $*\""
flake.nix+1
@@ -23,6 +23,7 @@
2323 packages = p: [ p.jrec ];
2424 buildInputs = with ghcVersions.ghc92; [
2525 cabal-install
26+ ghcid
2627 haskell-language-server
2728 ];
2829 };