Skip to content

Commit

Permalink
PathInputScheme: Improve path display
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Apr 25, 2024
1 parent c4cd4cd commit 93cf285
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libfetchers/path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ struct PathInputScheme : InputScheme
return {makeStorePathAccessor(store, *storePath), std::move(input2)};

} else {
return {makeFSInputAccessor(std::filesystem::path(absPath.abs())), std::move(input2)};
auto accessor = makeFSInputAccessor(std::filesystem::path(absPath.abs()));
accessor->setPathDisplay(absPath.abs());
return {accessor, std::move(input2)};
}
}

Expand Down

0 comments on commit 93cf285

Please sign in to comment.