diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-27 14:40:08 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-27 14:40:08 +0000 |
commit | 78466bcb2fd07cf19a657e04da1a1dddde1bb57e (patch) | |
tree | 2c3495fb3b70dcec78af14ddc695212e99c2a26b /src/nix/registry.cc | |
parent | 5055c595bd08c7aea494767d309645e8f3ef6f3d (diff) | |
parent | d5bb67cfa4da130a9949a9b4eb8aba6cb74ea5c7 (diff) |
Merge branch 'optional-derivation-output-storepath' into ca-derivation-data-types
Diffstat (limited to 'src/nix/registry.cc')
-rw-r--r-- | src/nix/registry.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/registry.cc b/src/nix/registry.cc index 16d7e511f..ebee4545c 100644 --- a/src/nix/registry.cc +++ b/src/nix/registry.cc @@ -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()); } }; |