1
1
Fork 0
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:
Eelco Dolstra 2020-02-20 23:44:06 +01:00
parent d068f9ffff
commit 73c9840569
4 changed files with 13 additions and 13 deletions

View file

@ -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);