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: 032a3286fd88
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 5df02d9783e0
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 21, 2018

  1. dockerTools: dereference hard links in tar archives

    This is to improve image creation reproducibility. Since the nar
    format doesn't support hard link, the tar stream of a layer can be
    different if a dependency of a layer has been built locally or if it
    has been fetched from a binary cache.
    
    If the dependency has been build locally, it can contain hard links
    which are encoded in the tar stream. If the dependency has been
    fetched from a binary cache, the tar stream doesn't contain any hard
    link. So even if the content is the same, tar streams are different.
    
    (cherry picked from commit 346996c)
    nlewo committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    e28a58f View commit details
    Browse the repository at this point in the history
  2. dockerTools: add --sort=name options on all tar calls

    This is to go to a reproducible image build.
    Note without this options image are identical from the Docker point of
    view but generated docker archives could have different hashes.
    
    (cherry picked from commit ac0c491)
    nlewo committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    5df02d9 View commit details
    Browse the repository at this point in the history