summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: eb2d6667c05e68467db553652fcced78160d6db4 (plain)
1
2
3
4
5
6
7
.PHONY: nix-shell
nix-shell: shell.nix
	nix-shell --command 'cd src && exec ghci'

shell.nix: blessings.cabal
	cabal2nix --shell --sha256=0 $< \
		| sed 's:sha256 = "0":src = ./.:' > $@