Skip to content

Conversation

@sstitle
Copy link

@sstitle sstitle commented Oct 5, 2025

When trying out the examples for this repo, I was unable to run them on my machine due to a version mismatch with the most up-to-date version of Zig (v0.15.1).

In my opinion, it would be convenient to have a nice way to pull the correct version of Zig compatible with the repo for new users to have a more seamless experience when trying out the repo.

This is a "shell.nix" file for the 0.4 tagged branch. It looks for the .zigversion file in the repo root and fetches the appropriate version of Zig and makes it available on the command line. You can enter the Nix shell by running nix-shell from the repo root as long as you have Nix installed. I like to install Nix using the convenient installer that you can find here from Determinate Systems.

Screenshot 2025-10-05 at 5 32 47 PM
  • By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant