-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test nix-build with non-local-store --store
Just a few small things needed fixing!
- Loading branch information
1 parent
a63a86b
commit 52f8c6e
Showing
3 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters