Skip to content

Commit

Permalink
Merge pull request #36360 from dtzWill/fix/nix-use-brotli-for-sanity
Browse files Browse the repository at this point in the history
nix: fix conditional so brotli is used w/2.0 builds, needed for logs!
(cherry picked from commit 40f9a3e)
  • Loading branch information
edolstra authored and vcunat committed Mar 6, 2018
1 parent a2037bb commit 66a621d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/package-management/nix/default.nix
Expand Up @@ -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 {
Expand Down

0 comments on commit 66a621d

Please sign in to comment.