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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d58ab591d4f1
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4bfba1305ed0
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 23, 2020

  1. Copy the full SHA
    b9ead08 View commit details
  2. Merge pull request #3854 from B4dM4n/registry-pin-write

    Save changes made by "nix registry pin" to user registry
    edolstra authored Jul 23, 2020
    Copy the full SHA
    4bfba13 View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/nix/registry.cc
1 change: 1 addition & 0 deletions src/nix/registry.cc
Original file line number Diff line number Diff line change
@@ -111,6 +111,7 @@ struct CmdRegistryPin : virtual Args, EvalCommand
fetchers::Attrs extraAttrs;
if (ref.subdir != "") extraAttrs["dir"] = ref.subdir;
userRegistry->add(ref.input, resolved, extraAttrs);
userRegistry->write(fetchers::getUserRegistryPath());
}
};