diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-11 01:51:14 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-11 18:54:50 -0500 |
commit | a8f45b5e5a42daa9bdee640255464d4dbb431352 (patch) | |
tree | 2acc2850c93f2edd4327918dd4886bbbb138b6e0 /src/libcmd | |
parent | a3ba80357d3a792eb1690011f253c64840c6ae72 (diff) |
Improve `OutputsSpec` slightly
A few little changes preparing for the rest.
Diffstat (limited to 'src/libcmd')
-rw-r--r-- | src/libcmd/installables.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index c0db2a715..ce40986d0 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -1,5 +1,6 @@ #include "globals.hh" #include "installables.hh" +#include "outputs-spec.hh" #include "util.hh" #include "command.hh" #include "attr-path.hh" @@ -796,7 +797,7 @@ std::vector<std::shared_ptr<Installable>> SourceExprCommand::parseInstallables( } for (auto & s : ss) { - auto [prefix, outputsSpec] = parseOutputsSpec(s); + auto [prefix, outputsSpec] = OutputsSpec::parse(s); result.push_back( std::make_shared<InstallableAttrPath>( state, *this, vFile, |