mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Improve OutputsSpec
slightly
A few little changes preparing for the rest.
This commit is contained in:
parent
a3ba80357d
commit
a8f45b5e5a
7 changed files with 46 additions and 32 deletions
|
@ -244,7 +244,7 @@ std::tuple<FlakeRef, std::string, OutputsSpec> parseFlakeRefWithFragmentAndOutpu
|
|||
bool allowMissing,
|
||||
bool isFlake)
|
||||
{
|
||||
auto [prefix, outputsSpec] = parseOutputsSpec(url);
|
||||
auto [prefix, outputsSpec] = OutputsSpec::parse(url);
|
||||
auto [flakeRef, fragment] = parseFlakeRefWithFragment(prefix, baseDir, allowMissing, isFlake);
|
||||
return {std::move(flakeRef), fragment, outputsSpec};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue