Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: allow path to be used for dock's persistent-apps #1429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ed9w2in6
Copy link

@ed9w2in6 ed9w2in6 commented Apr 30, 2025

Fixes #1428

This use solution 1 in #1428.

Note that even if path is allowed due to purity checks only relative paths accessible by nix is allowed.

  • e.g. nix store, your config path, etc.

Conflicts with #1430

@ed9w2in6
Copy link
Author

ed9w2in6 commented May 1, 2025

Actually for this I should add test case that uses path. Do not merge yet.

@Enzime Enzime marked this pull request as draft May 1, 2025 13:58
@Enzime
Copy link
Member

Enzime commented May 1, 2025

In future you can set the PR to draft to indicate it's not ready to merge yet

@ed9w2in6
Copy link
Author

ed9w2in6 commented May 1, 2025

@Enzime I am not sure how to add a test case for paths while not being brittle to any minor changes to the test environment.

Do you have any idea how to do that?
One idea is to do something with the path of pkgs.hello, assuming that won't change much.

I am not too sure about this though.

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.

[bug] type inconsistency for dock's persistent-apps option
2 participants