From 9e405abdd7211f1edc5ef9ac28672eba8cd7ff2f Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 27 Feb 2016 02:45:41 +0100 Subject: make ghci [default]: init --- Makefile | 7 +++++-- 1 file 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 ' --command 'exec ghci -Wall' -.PHONY: all -all: +shell.nix: $(wildcard *.cabal) + cabal2nix --shell . > $@ .PHONY: clean clean: -- cgit v1.2.3