mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41: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
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue