summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..29fc3ca
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+.PHONY: ghci
+ghci: shell.nix
+ nix-shell --arg nixpkgs 'import <stockholm>' --command 'exec ghci -Wall'
+
+shell.nix: $(wildcard *.cabal)
+ cabal2nix --shell . > $@