Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 944a6ae388bd
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 278b273d9a41
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Nov 1, 2020

  1. stdenv: add -frandom-seed to NIX_CFLAGS_COMPILE for reproducibility

    This adds -frandom-seed to each compiler invocation in stdenv. The
    object here is to make the compierl invocations produce the same output
    every time they are called (for the same derivation). When the
    -frandom-seed option is not set the compiler will use a combination of
    random numbers (in GCC's case from /dev/urandom) and the durrent time to
    produce a "random" input per file. This can (among other things) lead to
    different ordering of symbols in the produced object files.
    
    For reason of reproducibility we prefer having the same derivation
    produce the exact same outputs. This is not a silver bullet but one way
    to tame the compiler.
    andir committed Nov 1, 2020
    Copy the full SHA
    83f0bcc View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Merge pull request #102251 from andir/random-seed

    stdenv: introduce -frandom-seed
    andir committed Nov 19, 2020
    Copy the full SHA
    278b273 View commit details
    Browse the repository at this point in the history