windows: add more meta

‘platforms.windows’ includes all windows platforms. Should prefer this
to using assertions.

+19 -5
+4
pkgs/os-specific/windows/libgnurx/default.nix
··· 8 8 url = "mirror://sourceforge/mingw/Other/UserContributed/regex/mingw-regex-${version}/mingw-${name}-src.tar.gz"; 9 9 sha256 = "0xjxcxgws3bblybw5zsp9a4naz2v5bs1k3mk8dw00ggc0vwbfivi"; 10 10 }; 11 + 12 + meta = { 13 + platforms = stdenv.lib.platforms.windows; 14 + }; 11 15 }
+4
pkgs/os-specific/windows/mingw-w64/default.nix
··· 6 6 dontStrip = true; 7 7 hardeningDisable = [ "stackprotector" "fortify" ]; 8 8 patches = [ ./osvi.patch ]; 9 + 10 + meta = { 11 + platforms = stdenv.lib.platforms.windows; 12 + }; 9 13 }
+4 -2
pkgs/os-specific/windows/mingwrt/default.nix
··· 1 - { stdenv, callPackage, lib, fetchurl }: 1 + { stdenv, lib, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "mingwrt-5.0.2"; ··· 8 8 sha256 = "02pydg1m8y35nxb4k34nlb5c341y2waq76z42mgdzlcf661r91p0"; 9 9 }; 10 10 11 - meta.platforms = [ lib.systems.inspect.isMinGW ]; 11 + meta = { 12 + platforms = lib.platforms.windows; 13 + }; 12 14 13 15 dontStrip = true; 14 16 hardeningDisable = [ "stackprotector" "fortify" ];
+3 -1
pkgs/os-specific/windows/w32api/default.nix
··· 8 8 sha256 = "09rhnl6zikmdyb960im55jck0rdy5z9nlg3akx68ixn7khf3j8wb"; 9 9 }; 10 10 11 - meta.platforms = [ lib.systems.inspect.isMinGW ]; 11 + meta = { 12 + platforms = lib.platforms.windows; 13 + }; 12 14 13 15 dontStrip = true; 14 16 }
+4 -2
pkgs/os-specific/windows/wxMSW-2.8/default.nix
··· 2 2 , hostPlatform 3 3 }: 4 4 5 - assert hostPlatform.isWindows; 6 - 7 5 stdenv.mkDerivation { 8 6 name = "wxMSW-2.8.11"; 9 7 ··· 32 30 "; 33 31 34 32 passthru = {inherit compat24 compat26 unicode;}; 33 + 34 + meta = { 35 + platforms = stdenv.lib.platforms.windows; 36 + }; 35 37 }