aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-29 23:33:16 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-09-29 23:33:16 +0200
commit64e9b3c83b7cf7f3c7348426666ccca2ca395d28 (patch)
treeaef47184cd3a12a434c0a6fe59f89a2297020d70 /src/nix
parente2d398c200023a0d1e0054c536e7f6438bd2b139 (diff)
nix registry list: Show 'dir' attribute
Issue #4050.
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/registry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/registry.cc b/src/nix/registry.cc
index 367268683..cb11ec195 100644
--- a/src/nix/registry.cc
+++ b/src/nix/registry.cc
@@ -31,8 +31,8 @@ struct CmdRegistryList : StoreCommand
registry->type == Registry::User ? "user " :
registry->type == Registry::System ? "system" :
"global",
- entry.from.to_string(),
- entry.to.to_string());
+ entry.from.toURLString(),
+ entry.to.toURLString(attrsToQuery(entry.extraAttrs)));
}
}
}