diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-01-22 15:27:55 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-01-22 15:58:58 +0000 |
commit | 8c07ed1ddad6595cd679181b0b8d78e09fc6d152 (patch) | |
tree | d4eaf36ae99f8aa01cb32f2805a4e5920fa8e2ea /tests | |
parent | 7af743470c09b835f910d2e25786c080ccfe52c1 (diff) |
Improve documentation and test and requested
Diffstat (limited to 'tests')
-rw-r--r-- | tests/binary-cache-build-remote.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/binary-cache-build-remote.sh b/tests/binary-cache-build-remote.sh index ed51164a4..81cd21a4a 100644 --- a/tests/binary-cache-build-remote.sh +++ b/tests/binary-cache-build-remote.sh @@ -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 |