mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue