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: 3e1d847c1934
Choose a base ref
...
head repository: NixOS/nix
compare: 9fe4bf8e5951
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Jan 27, 2021

  1. Add a new Cmd type working on RealisedPaths

    Where a `RealisedPath` is a store path with its history, meaning either
    an opaque path for stuff that has been directly added to the store, or a
    `Realisation` for stuff that has been built by a derivation
    
    This is a low-level refactoring that doesn't bring anything by itself
    (except a few dozen extra lines of code :/ ), but raising the
    abstraction level a bit is important on a number of levels:
    
    - Commands like `nix build` have to query for the realisations after the
      build is finished which is fragile (see
      27905f1 for example). Having them
      oprate directly at the realisation level would avoid that
    - Others like `nix copy` currently operate directly on (built) store
      paths, but need a bit more information as they will need to register
      the realisations on the remote side
    thufschmitt committed Jan 27, 2021
    Copy the full SHA
    9fe4bf8 View commit details
    Browse the repository at this point in the history