mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 01:39:36 +01:00
Restore subdir -> dir
Got this mixed up somewhere.
This commit is contained in:
parent
d068f9ffff
commit
73c9840569
4 changed files with 13 additions and 13 deletions
|
|
@ -37,7 +37,7 @@ std::shared_ptr<Registry> Registry::read(
|
|||
for (auto & i : json["flakes"]) {
|
||||
auto toAttrs = jsonToAttrs(i["to"]);
|
||||
Input::Attrs extraAttrs;
|
||||
auto j = toAttrs.find("subdir");
|
||||
auto j = toAttrs.find("dir");
|
||||
if (j != toAttrs.end()) {
|
||||
extraAttrs.insert(*j);
|
||||
toAttrs.erase(j);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue