mirror of
https://github.com/NixOS/nix
synced 2025-07-02 17:41:48 +02:00
Test nix-build with non-local-store --store
Just a few small things needed fixing!
This commit is contained in:
parent
85f2e9e8fa
commit
fed1237246
3 changed files with 33 additions and 4 deletions
13
tests/binary-cache-build-remote.sh
Normal file
13
tests/binary-cache-build-remote.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
source common.sh
|
||||
|
||||
clearStore
|
||||
clearCacheCache
|
||||
|
||||
# Fails without remote builders
|
||||
(! 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
|
||||
|
||||
# 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