aboutsummaryrefslogtreecommitdiff
path: root/tests/substitutes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/substitutes.sh')
-rw-r--r--tests/substitutes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/substitutes.sh b/tests/substitutes.sh
index cfc3fa71a..150d6b8a3 100644
--- a/tests/substitutes.sh
+++ b/tests/substitutes.sh
@@ -7,7 +7,7 @@ outPath=$($TOP/src/nix-store/nix-store -qvv "$drvPath")
echo "output path is $outPath"
regSub() {
- (echo $1 && echo "" && echo $2 && echo 3 && echo $outPath && echo Hallo && echo Wereld && echo 0) | $TOP/src/nix-store/nix-store --substitute
+ (echo $1 && echo "" && echo $2 && echo 3 && echo $outPath && echo Hallo && echo Wereld && echo 0) | $TOP/src/nix-store/nix-store --register-substitutes
}
# Register a substitute for the output path.