mirror of
https://github.com/NixOS/nix.git
synced 2025-11-29 13:41:00 +01:00
Add reasons to dyndrv xp messages
This commit is contained in:
parent
0fd890a8d6
commit
71aa9a4798
4 changed files with 12 additions and 7 deletions
|
|
@ -85,7 +85,11 @@ void drvRequireExperiment(const SingleDerivedPath & drv, const ExperimentalFeatu
|
|||
[&](const SingleDerivedPath::Opaque &) {
|
||||
// plain drv path; no experimental features required.
|
||||
},
|
||||
[&](const SingleDerivedPath::Built &) { xpSettings.require(Xp::DynamicDerivations); },
|
||||
[&](const SingleDerivedPath::Built & b) {
|
||||
xpSettings.require(
|
||||
Xp::DynamicDerivations,
|
||||
fmt("building output '%s' of '%s'", b.output, b.drvPath->getBaseStorePath().to_string()));
|
||||
},
|
||||
},
|
||||
drv.raw());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue