Skip to content

Commit cb972c7

Browse files
authored
Merge pull request #12912 from DeterminateSystems/substituted-path-display
Set path display for substituted inputs
2 parents 5e19252 + 4a397cf commit cb972c7

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)