mirror of
https://github.com/NixOS/nix.git
synced 2025-12-13 04:21:04 +01:00
ParsedURL: Remove url field
This prevents a 'url' field that is out of sync with the other fields. You can use to_string() to get the full URL.
This commit is contained in:
parent
a0901e5588
commit
f705ce7f9a
8 changed files with 25 additions and 43 deletions
|
|
@ -66,7 +66,7 @@ Input Input::fromURL(
|
|||
}
|
||||
}
|
||||
|
||||
throw Error("input '%s' is unsupported", url.url);
|
||||
throw Error("input '%s' is unsupported", url);
|
||||
}
|
||||
|
||||
Input Input::fromAttrs(const Settings & settings, Attrs && attrs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue