mirror of
https://github.com/NixOS/nix.git
synced 2025-12-14 04:51:05 +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
|
|
@ -24,7 +24,7 @@ DownstreamPlaceholder DownstreamPlaceholder::unknownDerivation(
|
|||
OutputNameView outputName,
|
||||
const ExperimentalFeatureSettings & xpSettings)
|
||||
{
|
||||
xpSettings.require(Xp::DynamicDerivations);
|
||||
xpSettings.require(Xp::DynamicDerivations, fmt("placeholder for unknown derivation output '%s'", outputName));
|
||||
auto compressed = compressHash(placeholder.hash, 20);
|
||||
auto clearText =
|
||||
"nix-computed-output:" + compressed.to_string(HashFormat::Nix32, false) + ":" + std::string{outputName};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue