mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
doc: Document nix-store --add-fixed
symlink behavior
Tested with nix run nix/2.3-maintenance#nix-store -- --add some_symlink nix run nix/2.3-maintenance#nix-store -- --add-fixed sha256 --recursive some_symlink
This commit is contained in:
parent
36563c69a4
commit
91e91f62fa
2 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,9 @@ This operation has the following options:
|
|||
Use recursive instead of flat hashing mode, used when adding
|
||||
directories to the store.
|
||||
|
||||
*paths* that refer to symlinks are not dereferenced, but added to the store
|
||||
as symlinks with the same target.
|
||||
|
||||
{{#include ./opt-common.md}}
|
||||
|
||||
{{#include ../opt-common.md}}
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
The operation `--add` adds the specified paths to the Nix store. It
|
||||
prints the resulting paths in the Nix store on standard output.
|
||||
|
||||
*paths* that refer to symlinks are not dereferenced, but added to the store
|
||||
as symlinks with the same target.
|
||||
|
||||
{{#include ./opt-common.md}}
|
||||
|
||||
{{#include ../opt-common.md}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue