forked from mirrors/nixpkgs
windows: add more meta
‘platforms.windows’ includes all windows platforms. Should prefer this to using assertions.
This commit is contained in:
parent
b744586c7b
commit
f32e9a34c8
|
@ -8,4 +8,8 @@ in stdenv.mkDerivation rec {
|
|||
url = "mirror://sourceforge/mingw/Other/UserContributed/regex/mingw-regex-${version}/mingw-${name}-src.tar.gz";
|
||||
sha256 = "0xjxcxgws3bblybw5zsp9a4naz2v5bs1k3mk8dw00ggc0vwbfivi";
|
||||
};
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.windows;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,4 +6,8 @@ stdenv.mkDerivation {
|
|||
dontStrip = true;
|
||||
hardeningDisable = [ "stackprotector" "fortify" ];
|
||||
patches = [ ./osvi.patch ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.windows;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, callPackage, lib, fetchurl }:
|
||||
{ stdenv, lib, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mingwrt-5.0.2";
|
||||
|
@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "02pydg1m8y35nxb4k34nlb5c341y2waq76z42mgdzlcf661r91p0";
|
||||
};
|
||||
|
||||
meta.platforms = [ lib.systems.inspect.isMinGW ];
|
||||
meta = {
|
||||
platforms = lib.platforms.windows;
|
||||
};
|
||||
|
||||
dontStrip = true;
|
||||
hardeningDisable = [ "stackprotector" "fortify" ];
|
||||
|
|
|
@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "09rhnl6zikmdyb960im55jck0rdy5z9nlg3akx68ixn7khf3j8wb";
|
||||
};
|
||||
|
||||
meta.platforms = [ lib.systems.inspect.isMinGW ];
|
||||
meta = {
|
||||
platforms = lib.platforms.windows;
|
||||
};
|
||||
|
||||
dontStrip = true;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue