aboutsummaryrefslogtreecommitdiff
path: root/tests/export.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/export.sh')
-rw-r--r--tests/export.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/export.sh b/tests/export.sh
index c7d0a8176..136819742 100644
--- a/tests/export.sh
+++ b/tests/export.sh
@@ -2,16 +2,16 @@ source common.sh
clearStore
-outPath=$($nixbuild dependencies.nix)
+outPath=$(nix-build dependencies.nix)
-$nixstore --export $outPath > $TEST_ROOT/exp
+nix-store --export $outPath > $TEST_ROOT/exp
-$nixstore --export $($nixstore -qR $outPath) > $TEST_ROOT/exp_all
+nix-store --export $(nix-store -qR $outPath) > $TEST_ROOT/exp_all
clearStore
-if $nixstore --import < $TEST_ROOT/exp; then
+if nix-store --import < $TEST_ROOT/exp; then
echo "importing a non-closure should fail"
exit 1
fi
@@ -19,13 +19,13 @@ fi
clearStore
-$nixstore --import < $TEST_ROOT/exp_all
+nix-store --import < $TEST_ROOT/exp_all
-$nixstore --export $($nixstore -qR $outPath) > $TEST_ROOT/exp_all2
+nix-store --export $(nix-store -qR $outPath) > $TEST_ROOT/exp_all2
clearStore
# Regression test: the derivers in exp_all2 are empty, which shouldn't
# cause a failure.
-$nixstore --import < $TEST_ROOT/exp_all2
+nix-store --import < $TEST_ROOT/exp_all2