1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

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
commit cd31a8ca84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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