forked from mirrors/nixpkgs
scummvm: Don't use stdenv.cross
This commit is contained in:
parent
80a857f8d7
commit
67b5f39c72
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue