forked from mirrors/nixpkgs
cygwin: fix doubleFromSystem for cygwin
This commit is contained in:
parent
bf517c1c16
commit
be75c5dffb
|
@ -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}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue