Skip to content

Commit 994c8b6

Browse files
edolstramergify[bot]
authored andcommitted
Set path display for substituted inputs
(cherry picked from commit 4a397cf)
1 parent 4edd560 commit 994c8b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libfetchers/fetchers.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ std::pair<ref<SourceAccessor>, Input> Input::getAccessorUnchecked(ref<Store> sto
323323

324324
accessor->fingerprint = getFingerprint(store);
325325

326+
accessor->setPathDisplay("«" + to_string() + "»");
327+
326328
return {accessor, *this};
327329
} catch (Error & e) {
328330
debug("substitution of input '%s' failed: %s", to_string(), e.what());

0 commit comments

Comments
 (0)