summary refs log tree commit diff
path: root/lib/systems/doubles.nix
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-05-17 11:04:27 -0400
committerJohn Ericson <Ericson2314@Yahoo.com>2017-05-17 11:16:00 -0400
commit371ebc89ca8cfb48f9624981aab72563afb892b9 (patch)
tree45643adcfd6ee3b49a07c54c1ec08d0ec4e4c93c /lib/systems/doubles.nix
parent296753f0947427d5753be68ae10363ac1b8b4cdc (diff)
downloadnixpkgs-371ebc89ca8cfb48f9624981aab72563afb892b9.tar
nixpkgs-371ebc89ca8cfb48f9624981aab72563afb892b9.tar.gz
nixpkgs-371ebc89ca8cfb48f9624981aab72563afb892b9.tar.bz2
nixpkgs-371ebc89ca8cfb48f9624981aab72563afb892b9.tar.lz
nixpkgs-371ebc89ca8cfb48f9624981aab72563afb892b9.tar.xz
nixpkgs-371ebc89ca8cfb48f9624981aab72563afb892b9.tar.zst
nixpkgs-371ebc89ca8cfb48f9624981aab72563afb892b9.zip
lib platform parsing: Fix windows support to conform to LLVM, take 2
Second attempt at pull request #25275

This reverts commit b70924bd80918d153a5e2023afd7647ae7b24a12,
reapplying 2282a5774cd80567644a44d31585bf965a55f9ec
Diffstat (limited to 'lib/systems/doubles.nix')
-rw-r--r--lib/systems/doubles.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix
index 2622ddf4be1..9b17a51531a 100644
--- a/lib/systems/doubles.nix
+++ b/lib/systems/doubles.nix
@@ -30,7 +30,7 @@ in rec {
   mips = filterDoubles (matchAttrs { cpu = { family = "mips"; }; });
   x86_64 = filterDoubles parse.isx86_64;
 
-  cygwin = filterDoubles (matchAttrs { kernel = parse.kernels.cygwin; });
+  cygwin = filterDoubles parse.isCygwin;
   darwin = filterDoubles parse.isDarwin;
   freebsd = filterDoubles (matchAttrs { kernel = parse.kernels.freebsd; });
   gnu = filterDoubles (matchAttrs { kernel = parse.kernels.linux; abi = parse.abis.gnu; }); # Should be better