diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-02-10 11:54:06 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-02-10 11:54:06 +0100 |
commit | 1c972cba145dc95cb0930a83caf191f1ef722f8b (patch) | |
tree | ed57b226f29a2963bd6ff46cd1919c4e5c23a063 /tests/binary-cache.sh | |
parent | 5d9cd27dce30e1f221815f3f888203414e12a167 (diff) |
Make libsodium an optional dependency
Diffstat (limited to 'tests/binary-cache.sh')
-rw-r--r-- | tests/binary-cache.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh index b0e7f63ae..753c2c466 100644 --- a/tests/binary-cache.sh +++ b/tests/binary-cache.sh @@ -89,6 +89,8 @@ nix-build --option binary-caches "file://$cacheDir" dependencies.nix -o $TEST_RO grep -q "Downloading" $TEST_ROOT/log +if [ -n "$HAVE_SODIUM" ]; then + # Create a signed binary cache. clearCache @@ -137,3 +139,5 @@ done rm -f $NIX_STATE_DIR/binary-cache* (! nix-store -r $outPath --option binary-caches "file://$cacheDir" --option signed-binary-caches '*' --option binary-cache-public-keys "$publicKey") + +fi # HAVE_LIBSODIUM |