diff options
author | David McFarland <corngood@gmail.com> | 2017-06-12 14:25:03 -0300 |
---|---|---|
committer | David McFarland <corngood@gmail.com> | 2017-06-26 09:33:38 -0300 |
commit | be75c5dffbc236e80d382237209434a05344f2a7 (patch) | |
tree | b011ad75f24c4152483ee3bcbc13d4101fbbb603 /lib/systems/parse.nix | |
parent | bf517c1c16e49f25aca3318ad03335e3b39f2929 (diff) | |
download | nixlib-be75c5dffbc236e80d382237209434a05344f2a7.tar nixlib-be75c5dffbc236e80d382237209434a05344f2a7.tar.gz nixlib-be75c5dffbc236e80d382237209434a05344f2a7.tar.bz2 nixlib-be75c5dffbc236e80d382237209434a05344f2a7.tar.lz nixlib-be75c5dffbc236e80d382237209434a05344f2a7.tar.xz nixlib-be75c5dffbc236e80d382237209434a05344f2a7.tar.zst nixlib-be75c5dffbc236e80d382237209434a05344f2a7.zip |
cygwin: fix doubleFromSystem for cygwin
Diffstat (limited to 'lib/systems/parse.nix')
-rw-r--r-- | lib/systems/parse.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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}"; |