Closed edolstra closed 1 day ago
I think the fact that hashPlaceholder
moved is making the diff harder to read. This "churn" wasn't intentional, was it? :)
I would also consider just inlining the rest of rewriteDerivation
as it has to do with resolving, not rewriting, anyways.
@Ericson2314 You mean get rid of rewriteDerivation()
by inlining it into tryResolve()
?
@edolstra Yes, but I am fine if that happens later.
Motivation
This is the first part of
rewriteDerivation()
factored out into its own method. It's not used anywhere else at the moment, but it's useful on lazy-trees for rewriting virtual paths.Cherry-picked from the lazy-trees branch.
Context
Priorities and Process
Add :+1: to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.