mirror of
https://github.com/NixOS/nix.git
synced 2025-12-15 13:31:05 +01:00
Fix printAmbiguous() / printValueAsJSON()
This commit is contained in:
parent
fa5cb62604
commit
f058567e9a
5 changed files with 27 additions and 18 deletions
|
|
@ -110,7 +110,7 @@ bool createUserEnv(EvalState & state, PackageInfos & elems,
|
|||
environment. */
|
||||
auto manifestFile = ({
|
||||
std::ostringstream str;
|
||||
printAmbiguous(manifest, state.symbols, str, nullptr, std::numeric_limits<int>::max());
|
||||
printAmbiguous(state, manifest, str, nullptr, std::numeric_limits<int>::max());
|
||||
StringSource source { toView(str) };
|
||||
state.store->addToStoreFromDump(
|
||||
source, "env-manifest.nix", FileSerialisationMethod::Flat, ContentAddressMethod::Raw::Text, HashAlgorithm::SHA256, references);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue