Skip to content
/ nix Public

nix package for the Gren programming language

Notifications You must be signed in to change notification settings

gren-lang/nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gren Nix Package

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

Bumping the gren version in this repo

  • Start a dev shell: nix develop
  • Update version in package.json
  • Update package lock file: npm install
  • NOTE: if there was anything added or removed from the dependencies in package-lock.json you will need to update flake.nix to add them to the npm cache. TODO: automate this.
  • 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 and flake.lock files
  • git push origin main
  • Test with nix shell github:gren-lang/nix/main
  • git branch [version number] using the gren compiler version number (not the npm or nix package version number)
  • git push origin [version number]

About

nix package for the Gren programming language

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages