Skip to content

Move LocalStore::querySubstitutablePaths() to Store#14989

Merged
edolstra merged 2 commits intomasterfrom
querySubstitutablePaths
Jan 14, 2026
Merged

Move LocalStore::querySubstitutablePaths() to Store#14989
edolstra merged 2 commits intomasterfrom
querySubstitutablePaths

Conversation

@edolstra
Copy link
Member

Motivation

Nothing in this method depends on LocalStore, so we can use it as the default implementation. (It's only overriden in RemoteStore.)

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Nothing in this method depends on LocalStore, so we can use it as the
default implementation. (It's only overriden in RemoteStore.)
@edolstra edolstra requested a review from Ericson2314 as a code owner January 13, 2026 12:56
@edolstra edolstra enabled auto-merge January 13, 2026 12:57
@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Jan 13, 2026
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.

@edolstra You should override it in LegacySSHStore too (can just be return {} like before), so that we don't falsely represent the remote substitution policy, but then I approve. Good catch!

@edolstra edolstra requested a review from Ericson2314 January 14, 2026 18:48
@edolstra edolstra added this pull request to the merge queue Jan 14, 2026
Merged via the queue into master with commit 0a632cb Jan 14, 2026
18 checks passed
@edolstra edolstra deleted the querySubstitutablePaths branch January 14, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants