Merge pull request #36360 from dtzWill/fix/nix-use-brotli-for-sanity

nix: fix conditional so brotli is used w/2.0 builds, needed for logs!
This commit is contained in:
Eelco Dolstra 2018-03-06 12:01:31 +01:00 committed by GitHub
commit 40f9a3e9d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ let
buildInputs = [ curl openssl sqlite xz bzip2 ]
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optionals fromGit [ brotli ] # Since 1.12
++ lib.optionals is20 [ brotli ] # Since 1.12
++ lib.optional (hostPlatform.isSeccomputable) libseccomp
++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && is20)
(aws-sdk-cpp.override {