1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

Merge pull request #14232 from roberth/dyndrv-messages

Better dyndrv messages
This commit is contained in:
John Ericson 2025-10-14 15:40:27 +00:00 committed by GitHub
commit 1fb4ff8c0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 154 additions and 15 deletions

View file

@ -1420,7 +1420,8 @@ static void derivationStrictInternal(EvalState & state, std::string_view drvName
.debugThrow();
}
if (ingestionMethod == ContentAddressMethod::Raw::Text)
experimentalFeatureSettings.require(Xp::DynamicDerivations);
experimentalFeatureSettings.require(
Xp::DynamicDerivations, fmt("text-hashed derivation '%s', outputHashMode = \"text\"", drvName));
if (ingestionMethod == ContentAddressMethod::Raw::Git)
experimentalFeatureSettings.require(Xp::GitHashing);
};