Fix arch eval error introduced in #61019

This occurs when using a `platform.gcc.arch` that isn't one of the
pre-existing hard-coded options.
This commit is contained in:
arcnmx 2020-09-09 11:56:52 -07:00
parent aeda8fef86
commit 8f3efbde4e

View File

@ -60,7 +60,7 @@ rec {
};
predicates = let
featureSupport = feature: x: builtins.elem feature features.${x};
featureSupport = feature: x: builtins.elem feature features.${x} or [];
in {
sse3Support = featureSupport "sse3";
ssse3Support = featureSupport "ssse3";