Update architectures.nix

This commit is contained in:
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

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