1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 22:33:57 +02:00

Add a new nix store add command

Deprecate `nix store add-file` and `nix store add-path`, and replace
them with a single `nix store add` command.
This commit is contained in:
Théophane Hufschmitt 2023-11-15 09:23:26 +01:00
parent 2afe2e4fbc
commit 84128461b6
5 changed files with 68 additions and 51 deletions

View file

@ -73,3 +73,5 @@
[`XDG_DATA_DIRS`](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables) is now populated with the path to the `/share` subdirectory of the current profile.
This means that command completion scripts, `.desktop` files, and similar artifacts installed via [`nix-env`](@docroot@/command-ref/nix-env.md) or [`nix profile`](@docroot@/command-ref/new-cli/nix3-profile.md)
(experimental) can be found by any program that follows the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
- A new command `nix store add` has been added. It replaces `nix store add-file` and `nix store add-path` which are now deprecated.