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: 4b4fc7f1e0a0
Choose a base ref
...
head repository: NixOS/nix
compare: ac4a85e5c850
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Dec 10, 2020

  1. Make drv output the primary key in the db schema

    We don't really need the `id` (for now at least), but we need to ensure
    the unicity of the drv output, so use it instead for the primary key.
    
    This also implicitely adds an index for it, making the db queries
    potentially much fasterof the drv output, so use it instead for the
    primary key.
    
    This also implicitely adds an index for it, making the db queries
    potentially much faster
    thufschmitt committed Dec 10, 2020
    Copy the full SHA
    b7d504a View commit details
    Browse the repository at this point in the history
  2. Allow passing several realisations in the remote store

    Just for forward compat because we might want that in the future and we
    don't want to need a backwards-incompatible evolution
    thufschmitt committed Dec 10, 2020
    Copy the full SHA
    478aa24 View commit details
    Browse the repository at this point in the history
  3. Don't bump the db schema version

    It was accidentally bumped after the hazards of rebases, but we actually
    don't need to
    thufschmitt committed Dec 10, 2020
    Copy the full SHA
    ac4a85e View commit details
    Browse the repository at this point in the history