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/nixpkgs
base: 2e3190538b81
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: cf0855c899c9
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Apr 3, 2020

  1. nix-daemon.nix: Add option nix.registry

    This allows you to specify the system-wide flake registry. One use is
    to pin 'nixpkgs' to the Nixpkgs version used to build the system:
    
      nix.registry.nixpkgs.flake = nixpkgs;
    
    where 'nixpkgs' is a flake input. This ensures that commands like
    
      $ nix run nixpkgs#hello
    
    pull in a minimum of additional store paths.
    
    You can also use this to redirect flakes, e.g.
    
      nix.registry.nixpkgs.to = {
        type = "github";
        owner = "my-org";
        repo = "my-nixpkgs";
      };
    
    (cherry picked from commit 74e7ef3)
    edolstra committed Apr 3, 2020
    Copy the full SHA
    cf0855c View commit details
    Browse the repository at this point in the history