Use Gren via nix.
You can use github:gren-lang/nix
most places you'd use a package name or URL.
For example:
- devbox:
devbox add github:gren-lang/nix
- nix shell:
nix shell github:gren-lang/nix
You can point to a specific ref (commit, tag, branch) like this:
github:gren-lang/nix/main
github:gren-lang/nix/0.4.5
- update version in
package.json
- Start a dev shell:
nix develop
- Update package lock file:
npm install
- Update flake lock file:
nix flake update
- test with
nix build .#
which should build an executable at./result/bin/gren
- commit the updated
package.json
,package-lock.json
andflake.lock
files git tag -a [version number]
git push --tags origin main