From f3535aeea388a0edfba60a2d813009fa73dbad5a Mon Sep 17 00:00:00 2001 From: volth Date: Sun, 5 May 2019 22:14:24 +0000 Subject: [PATCH] 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) --- nixos/modules/services/misc/nix-daemon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index fe68879fda9d..8db3c44246f3 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 [] ) );