summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 524c5a4..f939081 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
+.PHONY: ghci
+ghci: shell.nix
+ nix-shell --arg nixpkgs 'import <stockholm>' --command 'exec ghci -Wall'
-.PHONY: all
-all:
+shell.nix: $(wildcard *.cabal)
+ cabal2nix --shell . > $@
.PHONY: clean
clean: