nixUnstable: Disable seccomp support on RISC-V.

+4 -2
+4 -2
pkgs/tools/package-management/nix/default.nix
··· 30 buildInputs = [ curl openssl sqlite xz bzip2 ] 31 ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium 32 ++ lib.optionals fromGit [ brotli ] # Since 1.12 33 - ++ lib.optional stdenv.isLinux libseccomp 34 ++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && is20) 35 (aws-sdk-cpp.override { 36 apis = ["s3"]; ··· 55 ] 56 ++ lib.optional ( 57 hostPlatform != buildPlatform && hostPlatform ? nix && hostPlatform.nix ? system 58 - ) ''--with-system=${hostPlatform.nix.system}''; 59 60 makeFlags = "profiledir=$(out)/etc/profile.d"; 61
··· 30 buildInputs = [ curl openssl sqlite xz bzip2 ] 31 ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium 32 ++ lib.optionals fromGit [ brotli ] # Since 1.12 33 + ++ lib.optional (stdenv.isLinux && !hostPlatform.isRiscV) libseccomp 34 ++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && is20) 35 (aws-sdk-cpp.override { 36 apis = ["s3"]; ··· 55 ] 56 ++ lib.optional ( 57 hostPlatform != buildPlatform && hostPlatform ? nix && hostPlatform.nix ? system 58 + ) ''--with-system=${hostPlatform.nix.system}'' 59 + # RISC-V support in progress https://github.com/seccomp/libseccomp/pull/50 60 + ++ lib.optional hostPlatform.isRiscV "--disable-seccomp-sandboxing"; 61 62 makeFlags = "profiledir=$(out)/etc/profile.d"; 63