Skip to content

Conversation

@Ericson2314
Copy link
Member

Motivation

A few small things I think would be useful to land right away, including a little bit of #14050.

Context

Thinking about #14050 and trying to get rid of the store-wide accessor.


Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added new-cli Relating to the "nix" command fetching Networking with the outside (non-Nix) world, input locking labels Sep 25, 2025
Comment on lines +493 to +494
* Only for restrict eval: pure eval just whitelist store paths,
* never arbitrary paths.
Copy link
Member Author

Choose a reason for hiding this comment

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

The implementation doesn't yet enforce this, but I think this does track for the one place this is in fact used now.

Comment on lines +180 to +181
state.allowPath(state.store->followLinksToStorePath(profile.string()));
state.allowPath(state.store->followLinksToStorePath((profile / "manifest.nix").string()));
Copy link
Member Author

@Ericson2314 Ericson2314 Sep 25, 2025

Choose a reason for hiding this comment

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

I don't want to whitelist just part of a store object, that feels weird. Now this does whole store objects.

@Ericson2314 Ericson2314 merged commit 4609528 into master Sep 25, 2025
40 of 42 checks passed
@Ericson2314 Ericson2314 deleted the storeFS-prep branch September 25, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants