summary refs log tree commit diff
path: root/lib/systems/inspect.nix
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 /lib/systems/inspect.nix
parentcdf9a78a3ebb535fa6ba88fce88c655776d2474f (diff)
downloadnixpkgs-26e8d58cb545004acb7cbd00db81a402923a2445.tar
nixpkgs-26e8d58cb545004acb7cbd00db81a402923a2445.tar.gz
nixpkgs-26e8d58cb545004acb7cbd00db81a402923a2445.tar.bz2
nixpkgs-26e8d58cb545004acb7cbd00db81a402923a2445.tar.lz
nixpkgs-26e8d58cb545004acb7cbd00db81a402923a2445.tar.xz
nixpkgs-26e8d58cb545004acb7cbd00db81a402923a2445.tar.zst
nixpkgs-26e8d58cb545004acb7cbd00db81a402923a2445.zip
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 'lib/systems/inspect.nix')
-rw-r--r--lib/systems/inspect.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix
index 2f0c402f398..d7fabf684b7 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -41,8 +41,6 @@ rec {
 
     isEfi          = map (family: { cpu.family = family; })
                        [ "x86" "arm" "aarch64" ];
-    isSeccomputable = map (family: { kernel = kernels.linux; cpu.family = family; })
-                        [ "x86" "arm" "aarch64" "mips" ];
   };
 
   matchAnyAttrs = patterns: