.PHONY: _default _default: ghci .PHONY: ghci ghci: shell.nix nix-shell --command 'exec ghci -Wall -fobject-code' .PHONY: result result: shell.nix nix-build ./shell.nix shell.nix: $(wildcard *.cabal) cabal2nix --shell . > $@