mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +02:00
nix copy: Add --out-link
This commit is contained in:
parent
43ad8c5eb2
commit
7f6d006beb
7 changed files with 66 additions and 25 deletions
|
@ -18,9 +18,10 @@ HASH=$(nix hash path $outPath)
|
|||
clearStore
|
||||
clearCacheCache
|
||||
|
||||
nix copy --from $cacheURI $outPath --no-check-sigs --profile $TEST_ROOT/profile
|
||||
nix copy --from $cacheURI $outPath --no-check-sigs --profile $TEST_ROOT/profile --out-link $TEST_ROOT/result
|
||||
|
||||
[[ -e $TEST_ROOT/profile ]]
|
||||
[[ -e $TEST_ROOT/result ]]
|
||||
|
||||
if ls $cacheDir/nar/*.zst &> /dev/null; then
|
||||
echo "files do exist"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue