Skip to content

Conversation

@aumetra
Copy link
Contributor

@aumetra aumetra commented Nov 4, 2023

This PR adds a Nix flake to the repository with the following functionality:

  • nix build builds a release build of the binary using the latest (minimal) stable rustc
  • nix develop opens a Nix devshell with the latest (full) stable rustc

Cargo.lock has to be committed to the repository for Nix to be able to ensure the reproducibility of the binary
(since it's checked into Git -> same Git revision, same Cargo lockfile, same flake file, same flake lock file -> same binary)

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