summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2016-02-27 02:45:41 +0100
committertv <tv@nomic.retiolum>2016-02-27 02:45:41 +0100
commit9e405abdd7211f1edc5ef9ac28672eba8cd7ff2f (patch)
tree0383ac4f988749a300deb87707477b7a3fb36ac8 /Makefile
parent237b7fd8b0c9c8d4ef6d7b8a758c039a217257e5 (diff)
make ghci [default]: init
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: