Template for new Miso projects
BSD-3-CLAUSE License
Copy the files and start hacking your Miso app!
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use miso-haskell
nix-build
open ./result/bin/miso-app.jsexe/index.html
nix-shell -A env
cabal build
open `find dist-newstyle/ -name index.html`
The default.nix
file has a couple of lines which indicate the "state of the world" for the build system:
all-cabal-hashes
.The example also shows how you can re-wire the Hackage information to make some packages use a different version from the latest (servant
in our case), and how to bring a package from a GitHub repository.