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

extend nixpkgs update scripts to pin used versions #457

Closed
wants to merge 1 commit into from

Conversation

hyperfekt
Copy link
Contributor

Makes sure the update scripts leave behind the necessary pins for the regenerate-hackage-packages maintainer script in nixpkgs to work.

@peti
Copy link
Member

peti commented May 27, 2020

I am sorry, @hyperfekt, but I don't have any use for these pinned version files. I am in favor of implementing an option to re-produce an older build with the generator scripts, but I would like that to be implemented by parsing the commit messages, which is really simple because all the information is baked into a simple URL in there.

@peti peti closed this May 27, 2020
@hyperfekt
Copy link
Contributor Author

hyperfekt commented May 27, 2020

It's not so much a matter of difficulty as one of principle. I strongly believe Git commit messages should not be a functional part of nixpkgs.

@hyperfekt
Copy link
Contributor Author

hyperfekt commented May 30, 2020

If the issue lies with the time taken by the nix-prefetch-github command, I'd be more than happy to modify the PR to compute the hash from a checkout instead.

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.

None yet

2 participants