Skip to content

Comments

Add a new nix store add command#9357

Merged
Ericson2314 merged 1 commit intomasterfrom
nix-store-add
Nov 15, 2023
Merged

Add a new nix store add command#9357
Ericson2314 merged 1 commit intomasterfrom
nix-store-add

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 :)

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