Update architectures.nix

gstqt5
volth 2020-09-01 11:28:34 +00:00 committed by GitHub
parent 60ce27db2b
commit c5fe132b3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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";