mirror of
https://github.com/NixOS/nix
synced 2025-07-02 09:21:47 +02:00
Improve documentation and test and requested
This commit is contained in:
parent
7af743470c
commit
8c07ed1dda
2 changed files with 7 additions and 4 deletions
|
@ -7,7 +7,10 @@ clearCacheCache
|
|||
(! nix-build --store "file://$cacheDir" dependencies.nix)
|
||||
|
||||
# Succeeds with default store as build remote.
|
||||
nix-build --store "file://$cacheDir" --builders 'auto - - 1 1' -j0 dependencies.nix
|
||||
outPath=$(nix-build --store "file://$cacheDir" --builders 'auto - - 1 1' -j0 dependencies.nix)
|
||||
|
||||
# Test that the path exactly exists in the destination store.
|
||||
nix path-info --store "file://$cacheDir" $outPath
|
||||
|
||||
# Succeeds without any build capability because no-op
|
||||
nix-build --store "file://$cacheDir" -j0 dependencies.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue