Skip to content

Commit

Permalink
Set path display for substituted inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Feb 20, 2025
1 parent 1048855 commit 82cb354
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libfetchers/fetchers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,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());
Expand Down

0 comments on commit 82cb354

Please sign in to comment.