Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derivations created using this repository are not reproducible #266

Open
sleirsgoevy opened this issue Oct 19, 2021 · 2 comments
Open

Derivations created using this repository are not reproducible #266

sleirsgoevy opened this issue Oct 19, 2021 · 2 comments

Comments

@sleirsgoevy
Copy link

Specifying "nightly" rust in buildInputs of my package causes the latest nightly Rust to be downloaded each time I try to build the package. Please consider pinning specific commits of this repository to specific versions of Rust, so that version pinning becomes possible.

@nbp
Copy link
Collaborator

nbp commented Nov 4, 2021

This is not the goal of this repository to pin a specific nightly.
If we were pinning any version, then the nightly version would no longer be the latest, as intended.

One thing which can be done, would be to generate a nix expression from the manifest file, and which relies on function provided by this repository to provide a pin-like behavior, but this would no longer be the latest. This would be one random version which happened to have been the nightly for a day.

@Artturin
Copy link
Contributor

Artturin commented Nov 4, 2021

@colemickens has made a reproducible flake for firefox-nightly so i assume the same thing could be done for rust https://github.com/colemickens/flake-firefox-nightly

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

No branches or pull requests

3 participants