Merge pull request #12914 from NixOS/mergify/bp/2.28-maintenance/pr-12912

Set path display for substituted inputs (backport #12912)
This commit is contained in:
Eelco Dolstra
2025-04-03 16:55:43 +02:00
committed by GitHub

View File

@@ -323,6 +323,8 @@ std::pair<ref<SourceAccessor>, Input> Input::getAccessorUnchecked(ref<Store> sto
accessor->fingerprint = getFingerprint(store);
accessor->setPathDisplay("«" + to_string() + "»");
return {accessor, *this};
} catch (Error & e) {
debug("substitution of input '%s' failed: %s", to_string(), e.what());