1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-25 19:51:00 +01:00

ParsedURL: Remove base field

This commit is contained in:
Eelco Dolstra 2025-01-07 14:52:00 +01:00
parent f705ce7f9a
commit 4077aa43a8
6 changed files with 2 additions and 20 deletions

View file

@ -161,7 +161,7 @@ struct MercurialInputScheme : InputScheme
{
auto url = parseURL(getStrAttr(input.attrs, "url"));
bool isLocal = url.scheme == "file";
return {isLocal, isLocal ? url.path : url.base};
return {isLocal, isLocal ? url.path : url.to_string()};
}
StorePath fetchToStore(ref<Store> store, Input & input) const