From 67b5f39c7288073909302bc6ce2e7df094874c24 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 28 Jun 2017 11:18:11 -0400 Subject: scummvm: Don't use stdenv.cross --- pkgs/games/scummvm/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix index 29ba75f9aa24..e965fc459ad8 100644 --- a/pkgs/games/scummvm/default.nix +++ b/pkgs/games/scummvm/default.nix @@ -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 -- cgit 1.4.1