1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Make libsodium an optional dependency

This commit is contained in:
Eelco Dolstra 2015-02-10 11:54:06 +01:00
parent 5d9cd27dce
commit 1c972cba14
6 changed files with 28 additions and 2 deletions

View file

@ -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