mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Add missing --hash-algo
flag to nix store add
This commit is contained in:
parent
382fa51ff0
commit
356352c370
3 changed files with 14 additions and 2 deletions
|
@ -37,9 +37,11 @@ clearStore
|
|||
path3=$(nix store add-path ./dummy)
|
||||
[[ "$path1" == "$path2" ]]
|
||||
[[ "$path1" == "$path3" ]]
|
||||
path4=$(nix store add --mode nar --hash-algo sha1 ./dummy)
|
||||
)
|
||||
(
|
||||
path1=$(nix store add --mode flat ./dummy)
|
||||
path2=$(nix store add-file ./dummy)
|
||||
[[ "$path1" == "$path2" ]]
|
||||
path4=$(nix store add --mode flat --hash-algo sha1 ./dummy)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue