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: d63fbb2b3ee5^
Choose a base ref
...
head repository: NixOS/nix
compare: 16fa255a07cb
Choose a head ref
  • 3 commits
  • 9 files changed
  • 1 contributor

Commits on Jan 26, 2021

  1. Don't crash nix-build when not all outputs are realised

    Change the `nix-build` logic for linking/printing the output paths to allow for
    some outputs to be missing. This might happen when the toplevel
    derivation didn't have to be built, either because all the required
    outputs were already there, or because they have all been substituted.
    thufschmitt committed Jan 26, 2021
    Copy the full SHA
    d63fbb2 View commit details
    Browse the repository at this point in the history
  2. Test the garbage collection of CA derivations

    Simple test to ensure that `nix-build && nix-collect-garbage &&
    nix-build -j0` works as it should
    thufschmitt committed Jan 26, 2021
    Copy the full SHA
    58a1f91 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2021

  1. Register the realisations for unresolved drvs

    Once a build is done, get back to the original derivation, and register
    all the newly built outputs for this derivation.
    
    This allows Nix to work properly with derivations that don't have all
    their build inputs available − thus allowing garbage collection and
    (once it's implemented) binary substitution
    thufschmitt committed Jan 27, 2021
    Copy the full SHA
    16fa255 View commit details
    Browse the repository at this point in the history