Merge pull request #61012 from volth/patch-332

nix.systemFeatures: minor fix
This commit is contained in:
Michael Raskin 2019-05-05 22:33:56 +00:00 committed by GitHub
commit c1fd5a2aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,7 +498,7 @@ in
"broadwell" = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" ];
"skylake" = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" "gccarch-broadwell" ];
"skylake-avx512" = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" "gccarch-broadwell" "gccarch-skylake" ];
}.${pkgs.hostPlatform.platform.gcc.arch}
}.${pkgs.hostPlatform.platform.gcc.arch} or []
)
);