Skip to content

Build the library via Nix - #9

Merged
quapka merged 5 commits into
crocs-muni:mainfrom
quapka:via-nix
Dec 12, 2025
Merged

Build the library via Nix#9
quapka merged 5 commits into
crocs-muni:mainfrom
quapka:via-nix

Conversation

@quapka

@quapka quapka commented Dec 12, 2025

Copy link
Copy Markdown
Collaborator

This PR builds on top of #8 and allows building the project via Nix.

Jan Kvapil added 5 commits December 12, 2025 11:16
The sentiment around version controlling Cargo.lock seems to
differ/evolve a bit. The relevant SO answer quotes a bit dated answer
from Rust FAQ [1] that libraries should not version control Cargo.lock.
However, the current [2] answer rather makes the sentiment that there
are cases, where the lock file is not respected. I would say that this
is the burden of the user and actually being explicit about what
Cargo.lock was succesfully used to build has its merit. It's,
for example, needed also for deterministic builds that I am working on.

[1] https://stackoverflow.com/a/63967863
[2] https://doc.rust-lang.org/cargo/faq.html#why-have-cargolock-in-version-control
@quapka
quapka merged commit 634d1e3 into crocs-muni:main Dec 12, 2025
6 checks passed
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