mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
* I love test sets.
This commit is contained in:
parent
8b9697e575
commit
96c3d8a615
3 changed files with 21 additions and 18 deletions
|
@ -4,7 +4,7 @@ echo "store expr is $storeExpr"
|
|||
|
||||
# Register a non-existant successor (and a nox-existant substitute).
|
||||
suc=$NIX_STORE_DIR/deadbeafdeadbeafdeadbeafdeadbeaf-s.store
|
||||
(echo $suc && echo $NIX_STORE_DIR/ffffffffffffffffffffffffffffffff.store && echo "/bla" && echo 0) | $TOP/src/nix-store/nix-store --substitute
|
||||
(echo $suc && echo $TOP/no-such-program && echo 0) | $TOP/src/nix-store/nix-store --substitute
|
||||
$TOP/src/nix-store/nix-store --successor $storeExpr $suc
|
||||
|
||||
outPath=$($TOP/src/nix-store/nix-store -qnf --fallback "$storeExpr")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue