Skip to content

Comments

Add EvalState::coerceToStorePath() helper#6198

Merged
edolstra merged 2 commits intoNixOS:masterfrom
edolstra:coerce-store-path
Mar 3, 2022
Merged

Add EvalState::coerceToStorePath() helper#6198
edolstra merged 2 commits intoNixOS:masterfrom
edolstra:coerce-store-path

Conversation

@edolstra
Copy link
Member

@edolstra edolstra commented Mar 2, 2022

This is useful whenever we want to evaluate something to a store path (e.g. in get-drvs.cc).

Extracted from the lazy-trees branch (where we can require that a store path must come from a store source tree accessor).

This is useful whenever we want to evaluate something to a store path
(e.g. in get-drvs.cc).

Extracted from the lazy-trees branch (where we can require that a
store path must come from a store source tree accessor).
Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great change!

Co-authored-by: John Ericson <[email protected]>
@edolstra edolstra merged commit 885d709 into NixOS:master Mar 3, 2022
@edolstra edolstra deleted the coerce-store-path branch December 9, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants