-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat: make the use of Nix hermetic #1061
base: main
Are you sure you want to change the base?
Conversation
The use of Nix before used <nixpkgs> which is not hermetic. https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs * moved default.nix to shell.nix to better describe intent * added sources.json to pin nixpkgs * added more documentation * added direnv integration
@@ -0,0 +1,194 @@ | |||
# This file has been generated by Niv. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is auto generated by https://github.com/nmattia/niv
@@ -0,0 +1,20 @@ | |||
let |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you'd like to use nix build
itself -- I can help there.
Useful if you want others to install via Nix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gcbrun
/gcbrun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These look good to me. @bporterfield @whscullin ?
The use of Nix before used which is not hermetic.
Please see https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs