diff options
author | volth <volth@volth.com> | 2019-05-05 22:14:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-05 22:14:24 +0000 |
commit | f3535aeea388a0edfba60a2d813009fa73dbad5a (patch) | |
tree | 2ce30f4cbfd8097d13061212ab4df54c2842c6f9 /nixos | |
parent | 1f6ddfc7e039e0f1003116b8e9e7110f363e26e2 (diff) |
nix.systemFeatures: minor fix
following up #59148 I forgot the default case of the architectures which do not have minor brothers whose code they can run ("westmere" or any of of AMD)
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/nix-daemon.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index fe68879fda9df..8db3c44246f31 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -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 [] ) ); |