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:
parent
f705ce7f9a
commit
4077aa43a8
6 changed files with 2 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue