summaryrefslogtreecommitdiffstats
path: root/lib/systems/doubles.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-05-06 13:27:15 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-05-06 13:28:07 +0200
commitb70924bd80918d153a5e2023afd7647ae7b24a12 (patch)
tree77213af020644bbcf909b66ab708f3d74cfa11b1 /lib/systems/doubles.nix
parent37a48c91996cde06adebcd4988b89f6e5e7c79dd (diff)
Revert "Merge pull request #25275 from Ericson2314/platform-normalize"
This reverts commit 2282a5774cd80567644a44d31585bf965a55f9ec, reversing changes made to 14adea91566019549f33392d4710d9babd0108d7. The lib tests are bloking nixpkgs-unstable, and I don't like debugging it soon enough.
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 9b17a51531a3..2622ddf4be1f 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 parse.isCygwin;
+ cygwin = filterDoubles (matchAttrs { kernel = parse.kernels.cygwin; });
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