about summary refs log tree commit diff
path: root/tests/fallback.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fallback.sh')
-rw-r--r--tests/fallback.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fallback.sh b/tests/fallback.sh
index 24e5784100c5..4a3d29f39eb0 100644
--- a/tests/fallback.sh
+++ b/tests/fallback.sh
@@ -5,7 +5,7 @@ outPath=$($TOP/src/nix-store/nix-store -q --fallback "$drvPath")
 echo "output path is $outPath"
 
 # Register a non-existant substitute
-(echo $outPath && echo "" && echo $TOP/no-such-program && echo 0 && echo 0) | $TOP/src/nix-store/nix-store --substitute
+(echo $outPath && echo "" && echo $TOP/no-such-program && echo 0 && echo 0) | $TOP/src/nix-store/nix-store --register-substitutes
 
 # Build the derivation
 $TOP/src/nix-store/nix-store -r --fallback "$drvPath"