|
|
|
@ -30,7 +30,7 @@ let |
|
|
|
|
buildInputs = [ curl openssl sqlite xz bzip2 ] |
|
|
|
|
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium |
|
|
|
|
++ lib.optionals fromGit [ brotli ] # Since 1.12 |
|
|
|
|
++ lib.optional (stdenv.isLinux && !hostPlatform.isRiscV) libseccomp |
|
|
|
|
++ lib.optional (hostPlatform.isSeccomputable) libseccomp |
|
|
|
|
++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && is20) |
|
|
|
|
(aws-sdk-cpp.override { |
|
|
|
|
apis = ["s3"]; |
|
|
|
@ -57,7 +57,7 @@ let |
|
|
|
|
hostPlatform != buildPlatform && hostPlatform ? nix && hostPlatform.nix ? system |
|
|
|
|
) ''--with-system=${hostPlatform.nix.system}'' |
|
|
|
|
# RISC-V support in progress https://github.com/seccomp/libseccomp/pull/50 |
|
|
|
|
++ lib.optional hostPlatform.isRiscV "--disable-seccomp-sandboxing"; |
|
|
|
|
++ lib.optional (!hostPlatform.isSeccomputable) "--disable-seccomp-sandboxing"; |
|
|
|
|
|
|
|
|
|
makeFlags = "profiledir=$(out)/etc/profile.d"; |
|
|
|
|
|
|
|
|
|