Document how to use the flake

This commit is contained in:
pta 2023-12-17 23:37:45 -05:00
parent d0704a26b9
commit ecf82ac0a4
1 changed files with 7 additions and 0 deletions

View File

@ -14,4 +14,11 @@ Haskell library dependencies of the executable need to be specified only in the
file. Once in the subshell, run ~cabal repl~ to load the program into ghci and start
experimenting.
UPDATE: This project is now a Nix flake, so to build it, run ~nix build~; ~nix develop~
for a development shell. Check the nix(1) manual and [[https://nixos.org/manual/nix/unstable/command-ref/experimental-commands][the official online docs]] for all the
other flake related commands.
I added this flake to my home-manager config, so now the web app cgi page is symlinked to
~~/.nix-profile/bin/caster-age~. I might make a home-manager config repo later.
[[https://pta.vern.cc/notes.html#functional_programming_books][Functional programming books and papers I found]]