-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Stabilise nix store add
#8915
Labels
idea approved
The given proposal has been discussed and approved by the Nix team. An implementation is welcome.
new-cli
Relating to the "nix" command
RFC
Related to an accepted RFC
Milestone
Comments
fricklerhandwerk
added
new-cli
Relating to the "nix" command
idea approved
The given proposal has been discussed and approved by the Nix team. An implementation is welcome.
RFC
Related to an accepted RFC
labels
Sep 4, 2023
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-09-04-nix-team-meeting-minutes-85/32608/1 |
Ericson2314
changed the title
Stabilise
Stabilise Sep 25, 2023
nix store add-file
and nix store add-path
nix store add
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-09-25-nix-team-meeting-minutes-89/33489/1 |
We forgot the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
idea approved
The given proposal has been discussed and approved by the Nix team. An implementation is welcome.
new-cli
Relating to the "nix" command
RFC
Related to an accepted RFC
This implements NixOS/rfcs#136. This issue is agreed-upon by the https://github.com/orgs/NixOS/teams/nix-team
nix store add-file
andnix store add-path
into onenix store add
and expose the underlying store options--key value
or--value1|--value2
--recursive
with--mode nar|flat|drv|git
(denoting the output hash mode)nix hash
and subcommands #8876--mode nar
the default due to history and to match path-to-string coercion behavior in the languageflat
is for consuming a single filedrv
(later) for implementing RFC 92; hashing mode to support adding.drv
filesgit
(later) for implementing RFC 133outputHashMode
,outputHashAlgo
, etc. on the command lineaddToStore
: https://github.com/NixOS/nix/blob/master/src/libstore/store-api.hh#L517The text was updated successfully, but these errors were encountered: