mkdir app ; git mv app{_slash_,/}Main.hs ; git mv app{_slash_,/}Example.cf ; git mv app{_slash_,/}lex-fixes.patch
nix-build
nix-shell
Then you can build with cabal v1-build
with or without --nix=True
(or $HOME/.cabal/config
containing nix: True
).