Type classes for potentially remote mutable variables
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| .PHONY: all
nixsh = nix-shell --arg devel true --pure --command
all: dist/setup-config Setup
$(nixsh) "./Setup build"
Setup: Setup.lhs
$(nixsh) "ghc -O -o $@ $<"
rm $@.hi $@.o
dist/setup-config: remote-values.cabal Setup
$(nixsh) "./Setup configure -ftestprogram"
|