about summary refs log tree commit diff
path: root/tests/nix-push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nix-push.sh')
-rw-r--r--tests/nix-push.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/nix-push.sh b/tests/nix-push.sh
index 0a35e3b97ab7..69f05141af69 100644
--- a/tests/nix-push.sh
+++ b/tests/nix-push.sh
@@ -1,11 +1,10 @@
 source common.sh
 
-drvPath=$($nixinstantiate dependencies.nix)
-outPath=$($nixstore -r $drvPath)
+drvPath=$(nix-instantiate dependencies.nix)
+outPath=$(nix-store -r $drvPath)
 
 echo "pushing $drvPath"
 
 mkdir -p $TEST_ROOT/cache
 
-$NIX_BIN_DIR/nix-push \
-    --copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath
+nix-push --copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath