diff options
author | volth <volth@volth.com> | 2020-09-01 11:28:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 11:28:34 +0000 |
commit | c5fe132b3c5da5044c01a9bd4aa4ab45795cb9e6 (patch) | |
tree | 19d6f4b054a6ff84e3f5e84c14867d1e66002fb7 | |
parent | 60ce27db2b405c0de1b870b2d04056e71d704133 (diff) |
Update 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"; |