mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +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.
This commit is contained in:
parent
aeda8fef86
commit
8f3efbde4e
@ -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…
Reference in New Issue
Block a user