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/nix
base: c64208d6f8e2
Choose a base ref
...
head repository: NixOS/nix
compare: 376517469159
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Dec 11, 2020

  1. Use the hash modulo in the derivation outputs

    Rather than storing the derivation outputs as `drvPath!outputName` internally,
    store them as `drvHashModulo!outputName` (or `outputHash!outputName` for
    fixed-output derivations).
    
    This makes the storage slightly more opaque, but enables an earlier
    cutoff in cases where a fixed-output dependency changes (but keeps the
    same output hash) − same as what we already do for input-addressed
    derivations.
    thufschmitt committed Dec 11, 2020
    Copy the full SHA
    bab1cda View commit details
    Browse the repository at this point in the history
  2. Restrict the operations on drv outputs in recursive Nix

    There's currently no way to properly filter them, so disallow them
    altogether instead.
    thufschmitt committed Dec 11, 2020
    Copy the full SHA
    e9b39f6 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Merge pull request #4348 from NixOS/ca/use-hashmodulo

    Use the hash modulo in the derivation outputs
    edolstra committed Dec 16, 2020
    1
    Copy the full SHA
    3765174 View commit details
    Browse the repository at this point in the history