1
0
Fork 0
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:
John Ericson 2020-12-20 19:55:21 +00:00
parent 85f2e9e8fa
commit fed1237246
3 changed files with 33 additions and 4 deletions

View 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