mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
* nix-store: --substitute' ->
--register-substitutes'.
This commit is contained in:
parent
8b70f138e0
commit
c702dfca3f
6 changed files with 8 additions and 8 deletions
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue