diff options
Diffstat (limited to 'lib/systems/architectures.nix')
-rw-r--r-- | lib/systems/architectures.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/systems/architectures.nix b/lib/systems/architectures.nix index acb6e417386b..9d1c29fd9f0b 100644 --- a/lib/systems/architectures.nix +++ b/lib/systems/architectures.nix @@ -59,8 +59,9 @@ rec { loongson2f = [ ]; }; - predicates = rec { + predicates = let featureSupport = feature: x: builtins.elem feature features.${x}; + in { sse3Support = featureSupport "sse3"; ssse3Support = featureSupport "ssse3"; sse4_1Support = featureSupport "sse4_1"; |