about summary refs log tree commit diff
path: root/tests/nix-pull.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nix-pull.sh')
-rw-r--r--tests/nix-pull.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/nix-pull.sh b/tests/nix-pull.sh
index 9fc3992f62..9a89676cb9 100644
--- a/tests/nix-pull.sh
+++ b/tests/nix-pull.sh
@@ -9,11 +9,11 @@ clearStore
 clearManifests
 pullCache
 
-drvPath=$($nixinstantiate dependencies.nix)
-outPath=$($nixstore -q $drvPath)
+drvPath=$(nix-instantiate dependencies.nix)
+outPath=$(nix-store -q $drvPath)
 
 echo "building $outPath using substitutes..."
-$nixstore -r $outPath
+nix-store -r $outPath
 
 cat $outPath/input-2/bar
 
@@ -22,12 +22,12 @@ clearManifests
 pullCache
 
 echo "building $drvPath using substitutes..."
-$nixstore -r $drvPath
+nix-store -r $drvPath
 
 cat $outPath/input-2/bar
 
 # Check that the derivers are set properly.
-test $($nixstore -q --deriver "$outPath") = "$drvPath"
-$nixstore -q --deriver $(readLink $outPath/input-2) | grep -q -- "-input-2.drv" 
+test $(nix-store -q --deriver "$outPath") = "$drvPath"
+nix-store -q --deriver $(readLink $outPath/input-2) | grep -q -- "-input-2.drv" 
 
 clearManifests