mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
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.
(cherry picked from commit 8f3efbde4e
)
This commit is contained in:
parent
5500dc83c3
commit
f96ce3a5a6
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue