mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +02:00
Require libbrotli
This commit is contained in:
parent
4361a4331f
commit
fa4def3d46
5 changed files with 3 additions and 65 deletions
|
@ -1,10 +1,5 @@
|
|||
source common.sh
|
||||
|
||||
|
||||
# Only test if we found brotli libraries
|
||||
# (CLI tool is likely unavailable if libraries are missing)
|
||||
if [ -n "$HAVE_BROTLI" ]; then
|
||||
|
||||
clearStore
|
||||
clearCache
|
||||
|
||||
|
@ -24,5 +19,3 @@ nix copy --from $cacheURI $outPath --no-check-sigs
|
|||
HASH2=$(nix hash-path $outPath)
|
||||
|
||||
[[ $HASH = $HASH2 ]]
|
||||
|
||||
fi # HAVE_BROTLI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue