mirror of
https://github.com/NixOS/nix.git
synced 2024-11-23 07:12:27 +00:00
Replace error message in getDerivationCA
This commit is contained in:
parent
0c9c1b8826
commit
e8e1f5282f
@ -126,7 +126,7 @@ std::optional<std::string> getDerivationCA(const BasicDerivation & drv)
|
||||
else if (outputHashMode->second == "flat")
|
||||
ingestionMethod = FileIngestionMethod::Flat;
|
||||
else
|
||||
throw Error("unknown ingestion method: '%s'", outputHashMode->second);
|
||||
throw Error("unknown outputHashMode: '%s'", outputHashMode->second);
|
||||
return makeFixedOutputCA(ingestionMethod, h);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user