Просмотр исходного кода

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)
wip-nanopi-m4v2
arcnmx 6 лет назад
committed by Matthew Bauer
Родитель
Сommit
f96ce3a5a6
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      lib/systems/architectures.nix

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


Загрузка…
Отмена
Сохранить