mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
nix eval-hydra-jobs: Fix aggregate derivation name
This commit is contained in:
parent
1351101c28
commit
edee6169bf
1 changed files with 2 additions and 0 deletions
|
@ -386,6 +386,8 @@ struct CmdEvalHydraJobs : MixJSON, MixDryRun, InstallableCommand
|
|||
}
|
||||
|
||||
std::string drvName(store->parseStorePath(drvPath).name());
|
||||
assert(hasSuffix(drvName, drvExtension));
|
||||
drvName.resize(drvName.size() - drvExtension.size());
|
||||
auto h = hashDerivationModulo(*store, drv, true);
|
||||
auto outPath = store->makeOutputPath("out", h, drvName);
|
||||
drv.env["out"] = store->printStorePath(outPath);
|
||||
|
|
Loading…
Reference in a new issue