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

Commits on Jan 23, 2019

  1. nix-store: make --dump-db take a list of paths to dump

    Inside a derivation, exportReferencesGraph already provides a way to
    dump the Nix database for a specific closure. On the command line,
    --dump-db gave us the same information, but only for the entire Nix
    database at once.
    
    With this change, one can now pass a list of paths to --dump-db to get
    the Nix database dumped for just those paths. (The user is responsible
    for ensuring this is a closure, like for --export).
    
    Among other things, this is useful for deploying a closure to a new
    host without using --import/--export; one can use tar to transfer the
    store paths, and --dump-db/--load-db to transfer the validity
    information. This is useful if the new host doesn't actually have Nix
    yet, and the closure that is being deployed itself contains Nix.
    catern committed Jan 23, 2019
    Copy the full SHA
    5f1891b View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2019

  1. Merge pull request #2579 from catern/dumpdb

    nix-store: make --dump-db take a list of paths to dump
    edolstra committed Feb 14, 2019
    Copy the full SHA
    d8fe447 View commit details
    Browse the repository at this point in the history