mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
tests: Use cp -ar instead of tar-untar pipe
This commit is contained in:
parent
4a2cee8e6c
commit
eae2717e00
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ nix-store --store "$storeB" --verify --check-contents
|
|||
# Make a backup so we can repair later
|
||||
backupStore="$storeVolume/backup"
|
||||
mkdir "$backupStore"
|
||||
tar -cC "$storeBRoot" nix | tar -xC "$backupStore"
|
||||
cp -ar "$storeBRoot/nix" "$backupStore"
|
||||
|
||||
|
||||
## Deliberately corrupt store paths
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue