mun-lang / mun

Source code for the Mun language and runtime.
https://mun-lang.org
Other
1.8k stars 72 forks source link

Missing Cargo.lock #562

Open Samuel-Bowden opened 2 months ago

Samuel-Bowden commented 2 months ago

Hello, I have been working on writing a Nix derivation for this project with the aim of compiling and installing Mun on NixOS, and I've noticed that the workspace does not include a Cargo.lock file, which is required to create a deterministic derivation.

I am unsure if the absence of Cargo.lock is intentional or an oversight. Should we consider adding a Cargo.lock to the workspace?

baszalmstra commented 2 months ago

Mun is both an executable and a library.

For libraries I tend not to include a lock file. But for the executable, it makes sense to have a lock file.

Since a lock-file always applies to all crates in the project lets just add it.