windows: add more meta

‘platforms.windows’ includes all windows platforms. Should prefer this
to using assertions.
This commit is contained in:
Matthew Bauer
2018-08-10 11:51:18 -04:00
parent b744586c7b
commit f32e9a34c8
5 changed files with 19 additions and 5 deletions
@@ -2,8 +2,6 @@
, hostPlatform
}:
assert hostPlatform.isWindows;
stdenv.mkDerivation {
name = "wxMSW-2.8.11";
@@ -32,4 +30,8 @@ stdenv.mkDerivation {
";
passthru = {inherit compat24 compat26 unicode;};
meta = {
platforms = stdenv.lib.platforms.windows;
};
}