aboutsummaryrefslogtreecommitdiff
path: root/tests/gc-auto.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-24 20:38:56 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-12-03 23:22:22 +0100
commitea2062a2d9144d78588675950fc04756f0d200a5 (patch)
tree3727b9b8b07b12c2375574c9101bf79bce6fcd3a /tests/gc-auto.sh
parenta1cd805cba7a4408e75779bc4099f92e81fd6ac7 (diff)
Move most store-related commands to 'nix store'
Diffstat (limited to 'tests/gc-auto.sh')
-rw-r--r--tests/gc-auto.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gc-auto.sh b/tests/gc-auto.sh
index 3add896c6..6867f2eb4 100644
--- a/tests/gc-auto.sh
+++ b/tests/gc-auto.sh
@@ -2,9 +2,9 @@ source common.sh
clearStore
-garbage1=$(nix add-to-store --name garbage1 ./nar-access.sh)
-garbage2=$(nix add-to-store --name garbage2 ./nar-access.sh)
-garbage3=$(nix add-to-store --name garbage3 ./nar-access.sh)
+garbage1=$(nix store add-path --name garbage1 ./nar-access.sh)
+garbage2=$(nix store add-path --name garbage2 ./nar-access.sh)
+garbage3=$(nix store add-path --name garbage3 ./nar-access.sh)
ls -l $garbage3
POSIXLY_CORRECT=1 du $garbage3