aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-11 01:51:14 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-11 18:54:50 -0500
commita8f45b5e5a42daa9bdee640255464d4dbb431352 (patch)
tree2acc2850c93f2edd4327918dd4886bbbb138b6e0 /src/libexpr/flake
parenta3ba80357d3a792eb1690011f253c64840c6ae72 (diff)
Improve `OutputsSpec` slightly
A few little changes preparing for the rest.
Diffstat (limited to 'src/libexpr/flake')
-rw-r--r--src/libexpr/flake/flakeref.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flakeref.cc b/src/libexpr/flake/flakeref.cc
index eede493f8..cfa279fb4 100644
--- a/src/libexpr/flake/flakeref.cc
+++ b/src/libexpr/flake/flakeref.cc
@@ -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};
}