diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-08T13·48+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-08T13·48+0000 |
commit | c702dfca3f5a437866faf190ce7b0869fd1058cb (patch) | |
tree | c9b992046f6f0fd71e5b58a63a52eceb564942eb /tests | |
parent | 8b70f138e02d62214715f144b133bf1b981911df (diff) |
* nix-store: `--substitute' -> `--register-substitutes'.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fallback.sh | 2 | ||||
-rw-r--r-- | tests/substitutes.sh | 2 | ||||
-rw-r--r-- | tests/substitutes2.sh | 2 |
3 files changed, 3 insertions, 3 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" diff --git a/tests/substitutes.sh b/tests/substitutes.sh index cfc3fa71a153..150d6b8a3f1a 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. diff --git a/tests/substitutes2.sh b/tests/substitutes2.sh index 1a7b848ca3da..6dcff6fd43a1 100644 --- a/tests/substitutes2.sh +++ b/tests/substitutes2.sh @@ -7,7 +7,7 @@ outPath=$($TOP/src/nix-store/nix-store -qvvvvv "$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. |