cygwin: fix doubleFromSystem for cygwin

This commit is contained in:
David McFarland 2017-06-12 14:25:03 -03:00
parent bf517c1c16
commit be75c5dffb

View file

@ -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}";