cygwin: fix doubleFromSystem for cygwin
commitbe75c5dffbc236e80d382237209434a05344f2a7
authorDavid McFarland <corngood@gmail.com>
dateMon 12 Jun 2017, 14:25 (9 years ago)
parentbf517c1
lib/systems/parse.nix+1−1
@@ -164,7 +164,7 @@ rec {
164164 mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s));
165165
166166 doubleFromSystem = { cpu, vendor, kernel, abi, ... }:
167− if vendor == kernels.windows && abi == abis.cygnus
167+ if abi == abis.cygnus
168168 then "${cpu.name}-cygwin"
169169 else "${cpu.name}-${kernel.name}";
170170