Skip to content
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

Add a new nix store add command #9357

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Add a new nix store add command #9357

merged 1 commit into from
Nov 15, 2023

Conversation

thufschmitt
Copy link
Member

@thufschmitt thufschmitt commented Nov 15, 2023

Motivation

Deprecate nix store add-file and nix store add-path, and replace them with a single nix store add command.

Context

Fix #8915

Priorities

Add 👍 to pull requests you find important.

@github-actions github-actions bot added documentation new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority labels Nov 15, 2023
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.

Looks good! Just needs change log entry I think.

I forgot whether we talked about it. I think this should support text hashing too, but it is easiest to do that after #9325 so I am OK not doing it for now.

@thufschmitt
Copy link
Member Author

Just needs change log entry I think.

Ah good catch, I always forget about these.

@fricklerhandwerk, I received a notification with a suggestion from you which disappeared from here. It was good so I've applied it nonetheless.

@Ericson2314
Copy link
Member

Oh sorry one more thing I missed: add-path.md should become add.md I think?

Deprecate `nix store add-file` and `nix store add-path`, and replace
them with a single `nix store add` command.
@thufschmitt
Copy link
Member Author

Grmbl, indeed :)

@Ericson2314 Ericson2314 merged commit e34c424 into master Nov 15, 2023
13 checks passed
@Ericson2314 Ericson2314 deleted the nix-store-add branch November 15, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Stabilise nix store add
2 participants