forked from lix-project/lix
nix eval-hydra-jobs: Fix aggregate derivation name
This commit is contained in:
parent
1351101c28
commit
edee6169bf
|
@ -386,6 +386,8 @@ struct CmdEvalHydraJobs : MixJSON, MixDryRun, InstallableCommand
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string drvName(store->parseStorePath(drvPath).name());
|
std::string drvName(store->parseStorePath(drvPath).name());
|
||||||
|
assert(hasSuffix(drvName, drvExtension));
|
||||||
|
drvName.resize(drvName.size() - drvExtension.size());
|
||||||
auto h = hashDerivationModulo(*store, drv, true);
|
auto h = hashDerivationModulo(*store, drv, true);
|
||||||
auto outPath = store->makeOutputPath("out", h, drvName);
|
auto outPath = store->makeOutputPath("out", h, drvName);
|
||||||
drv.env["out"] = store->printStorePath(outPath);
|
drv.env["out"] = store->printStorePath(outPath);
|
||||||
|
|
Loading…
Reference in a new issue