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

setup-hooks/reproducible-builds.sh: NIX_OUTPATH_USED_AS_RANDOM_SEED #216016

Merged
merged 1 commit into from Feb 18, 2023
Merged

setup-hooks/reproducible-builds.sh: NIX_OUTPATH_USED_AS_RANDOM_SEED #216016

merged 1 commit into from Feb 18, 2023

Commits on Feb 12, 2023

  1. setup-hooks/reproducible-builds.sh: NIX_OUTPATH_USED_AS_RANDOM_SEED

    For reproducibility, nixpkgs sets `-frandom-seed` to the first 10
    characters of the outpath of the derivation being built.
    
    This PR allows to manually select from which outpath the
    10-character prefix is taken, by setting
    `NIX_OUTPATH_USED_AS_RANDOM_SEED` as a derivation attribute (or
    directly as an environment variable).
    
    For an example use of this functionality, see:
    
      #209870
    Adam Joseph committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    07942cd View commit details
    Browse the repository at this point in the history