3
0
Fork 0
forked from mirrors/nixpkgs

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 {
name = "scummvm-1.9.0";
@ -16,7 +19,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
# Remove the --build flag set by the gcc cross wrapper setup
# hook
export configureFlags="--host=${stdenv.cross.config}"
export configureFlags="--host=${hostPlatform.config}"
'';
postConfigure = ''
# They use 'install -s', that calls the native strip instead of the cross