diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index 34272b45b8b5..fdfc1cbc907f 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -164,7 +164,7 @@ rec { mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s)); doubleFromSystem = { cpu, vendor, kernel, abi, ... }: - if vendor == kernels.windows && abi == abis.cygnus + if abi == abis.cygnus then "${cpu.name}-cygwin" else "${cpu.name}-${kernel.name}";