diff options
author | arcnmx <arcnmx@users.noreply.github.com> | 2020-09-09 11:56:52 -0700 |
---|---|---|
committer | arcnmx <arcnmx@users.noreply.github.com> | 2020-09-09 12:17:00 -0700 |
commit | 8f3efbde4e5d5d5f6af97e8f7e199f37d51d9faa (patch) | |
tree | 38b97f1cd1714d3de5be62ac9f2318571b5c5d9b | |
parent | aeda8fef86aaab6fc2f2bcb6f675fffbddd59a0d (diff) |
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.
-rw-r--r-- | lib/systems/architectures.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/architectures.nix b/lib/systems/architectures.nix index 9d1c29fd9f0b..bfecaec1ae88 100644 --- a/lib/systems/architectures.nix +++ b/lib/systems/architectures.nix @@ -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"; |