wxMSW-2.8: Don't use stdenv ? cross
This commit is contained in:
parent
c4ab3ef580
commit
2f37cad1b9
@ -1,7 +1,7 @@
|
||||
{ fetchurl, stdenv, mingw_headers }:
|
||||
|
||||
# This file is tweaked for cross-compilation only.
|
||||
assert stdenv ? cross;
|
||||
assert hostPlatform != buildPlatform;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pthread-w32-1.10.0";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, fetchurl, compat24 ? false, compat26 ? true, unicode ? true,
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
assert stdenv ? cross -> stdenv.cross.libc == "msvcrt";
|
||||
assert hostPlatform.isWindows;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wxMSW-2.8.11";
|
||||
@ -19,12 +20,6 @@ stdenv.mkDerivation {
|
||||
"--with-opengl"
|
||||
];
|
||||
|
||||
# Cross build only tested for mingw32
|
||||
checkCross = throw "This package can only be cross-built" false;
|
||||
crossAttrs = {
|
||||
checkCross = true;
|
||||
};
|
||||
|
||||
preConfigure = "
|
||||
substituteInPlace configure --replace /usr /no-such-path
|
||||
";
|
||||
|
Loading…
Reference in New Issue
Block a user