ExtraInfo -> ExtraPathInfo
This commit is contained in:
parent
8e923bf4c5
commit
b80e4b57da
|
@ -898,7 +898,7 @@ std::vector<std::pair<std::shared_ptr<Installable>, BuiltPathWithResult>> Instal
|
||||||
|
|
||||||
struct Aux
|
struct Aux
|
||||||
{
|
{
|
||||||
ExtraInfo info;
|
ExtraPathInfo info;
|
||||||
std::shared_ptr<Installable> installable;
|
std::shared_ptr<Installable> installable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ enum class OperateOn {
|
||||||
Derivation
|
Derivation
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ExtraInfo
|
struct ExtraPathInfo
|
||||||
{
|
{
|
||||||
std::optional<NixInt> priority;
|
std::optional<NixInt> priority;
|
||||||
std::optional<FlakeRef> originalRef;
|
std::optional<FlakeRef> originalRef;
|
||||||
|
@ -67,13 +67,13 @@ struct ExtraInfo
|
||||||
struct DerivedPathWithInfo
|
struct DerivedPathWithInfo
|
||||||
{
|
{
|
||||||
DerivedPath path;
|
DerivedPath path;
|
||||||
ExtraInfo info;
|
ExtraPathInfo info;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct BuiltPathWithResult
|
struct BuiltPathWithResult
|
||||||
{
|
{
|
||||||
BuiltPath path;
|
BuiltPath path;
|
||||||
ExtraInfo info;
|
ExtraPathInfo info;
|
||||||
std::optional<BuildResult> result;
|
std::optional<BuildResult> result;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -253,11 +253,11 @@ struct ProfileManifest
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::map<Installable *, std::pair<BuiltPaths, ExtraInfo>>
|
static std::map<Installable *, std::pair<BuiltPaths, ExtraPathInfo>>
|
||||||
builtPathsPerInstallable(
|
builtPathsPerInstallable(
|
||||||
const std::vector<std::pair<std::shared_ptr<Installable>, BuiltPathWithResult>> & builtPaths)
|
const std::vector<std::pair<std::shared_ptr<Installable>, BuiltPathWithResult>> & builtPaths)
|
||||||
{
|
{
|
||||||
std::map<Installable *, std::pair<BuiltPaths, ExtraInfo>> res;
|
std::map<Installable *, std::pair<BuiltPaths, ExtraPathInfo>> res;
|
||||||
for (auto & [installable, builtPath] : builtPaths) {
|
for (auto & [installable, builtPath] : builtPaths) {
|
||||||
auto & r = res[installable.get()];
|
auto & r = res[installable.get()];
|
||||||
/* Note that there could be conflicting info
|
/* Note that there could be conflicting info
|
||||||
|
|
Loading…
Reference in a new issue