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: 013f4928c8a6
Choose a base ref
...
head repository: NixOS/nix
compare: 981f68625923
Choose a head ref
  • 4 commits
  • 5 files changed
  • 1 contributor

Commits on May 23, 2019

  1. fetchGit: Don't barf if we can't update our Git clone

    Instead print a warning that we're continuing with the most recently
    fetched version.
    edolstra committed May 23, 2019
    Copy the full SHA
    6e98443 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6b77bfc View commit details
    Browse the repository at this point in the history
  3. Register flake source trees as GC roots

    This ensures that flakes don't get garbage-collected, which is
    important to get nix-channel-like behaviour.
    
    For example, running
    
      $ nix build hydra:
    
    will create a GC root
    
      ~/.cache/nix/flake-closures/hydra -> /nix/store/xarfiqcwa4w8r4qpz1a769xxs8c3phgn-flake-closure
    
    where the contents/references of the linked file in the store are the
    flake source trees used by the 'hydra' flake:
    
      /nix/store/n6d5f5lkpfjbmkyby0nlg8y1wbkmbc7i-source
      /nix/store/vbkg4zy1qd29fnhflsv9k2j9jnbqd5m2-source
      /nix/store/z46xni7d47s5wk694359mq9ay353ar94-source
    
    Note that this in itself is not enough to allow offline use; the
    fetcher for the flakeref (e.g. fetchGit or downloadCached) must not
    fail if it cannot fetch the latest version of the file, so long as it
    knows a cached version.
    
    Issue #2868.
    edolstra committed May 23, 2019
    Copy the full SHA
    90fe1df View commit details
    Browse the repository at this point in the history

Commits on May 25, 2019

  1. Merge pull request #2890 from NixOS/offline-flakes

    Offline flakes
    edolstra committed May 25, 2019
    Copy the full SHA
    981f686 View commit details
    Browse the repository at this point in the history