about summary refs log tree commit diff
path: root/pkgs/development/libraries/libseccomp
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-25 17:52:20 -0400
committerShea Levy <shea@shealevy.com>2018-03-27 08:16:24 -0400
commit26e8d58cb545004acb7cbd00db81a402923a2445 (patch)
treeaee8756eb01ad3b51a90b6027abc1736ae0eaa3b /pkgs/development/libraries/libseccomp
parentcdf9a78a3ebb535fa6ba88fce88c655776d2474f (diff)
libseccomp: Disable only on RISC-V if Linux.
The isSeccomputable flag treated Linux without seccomp as just a
normal variant, when it really should be treated as a special case
incurring complexity debt to support.
Diffstat (limited to 'pkgs/development/libraries/libseccomp')
-rw-r--r--pkgs/development/libraries/libseccomp/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libseccomp/default.nix b/pkgs/development/libraries/libseccomp/default.nix
index d953fd12e68bd..e0c77a0cf357c 100644
--- a/pkgs/development/libraries/libseccomp/default.nix
+++ b/pkgs/development/libraries/libseccomp/default.nix
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
     homepage    = "https://github.com/seccomp/libseccomp";
     license     = licenses.lgpl21;
     platforms   = platforms.linux;
+    badPlatforms = platforms.riscv;
     maintainers = with maintainers; [ thoughtpolice wkennington ];
   };
 }