scummvm: Don't use stdenv.cross

This commit is contained in:
John Ericson 2017-06-28 11:18:11 -04:00
parent 80a857f8d7
commit 67b5f39c72

View File

@ -1,4 +1,7 @@
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib, mesa }: { stdenv
, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib, mesa
, hostPlatform
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "scummvm-1.9.0"; name = "scummvm-1.9.0";
@ -16,7 +19,7 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
# Remove the --build flag set by the gcc cross wrapper setup # Remove the --build flag set by the gcc cross wrapper setup
# hook # hook
export configureFlags="--host=${stdenv.cross.config}" export configureFlags="--host=${hostPlatform.config}"
''; '';
postConfigure = '' postConfigure = ''
# They use 'install -s', that calls the native strip instead of the cross # They use 'install -s', that calls the native strip instead of the cross