mirror of
https://github.com/izzy2lost/nix.git
synced 2026-03-10 12:35:57 -07: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:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user