- If you haven't already, install Nix
- On POSIX systems, this is usually
curl -L https://nixos.org/nix/install | sh
- On POSIX systems, this is usually
- Run
nix flake show --allow-import-from-derivationto verify that the flake can be read correctly by nix. - Build libraries:
nix build
If you have trouble, refer to the Nix Reference Manual for additional detail.
Because this project uses nix, there's no need to install Stack or Cabal on your system, you can run it in a shell.
- Init a shell
-
Via nix-shell:
nix-shell -
Via nix command:
nix develop -c {your shell interpreter}
-
- Build libraries:
cabal buildIf you have trouble, refer to the Reflex-VTY GitHub Repo for additional detail.
-
Via Cabal command
In the shell of the project, we start the Reflex-VTY app with:
cabal run -
Via Nix command
-
Check the Reflex-VTY flake with:
nix flake show allow-import-from-derivation -
Build the Reflex-VTY app with:
nix build -
Run the Reflex-VTY app with:
nix run
-
To close you can press Esc or Ctrl keys.
- This project includes code derived from Reflex-FRP/Reflex-VTY, licensed under the BSD-3-Clause License
- Additional modifications and original code in this repository are licensed under the BSD-3-Clause License.