summary refs log tree commit diff
path: root/pkgs/games/scummvm
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-06-28 11:18:11 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-06-28 18:21:06 -0400
commit67b5f39c7288073909302bc6ce2e7df094874c24 (patch)
tree21ac20f3a2558cb740d393f06a7bc57fa68b34e3 /pkgs/games/scummvm
parent80a857f8d7b797cfd661e2686c0f2e66d41255b5 (diff)
downloadnixpkgs-67b5f39c7288073909302bc6ce2e7df094874c24.tar
nixpkgs-67b5f39c7288073909302bc6ce2e7df094874c24.tar.gz
nixpkgs-67b5f39c7288073909302bc6ce2e7df094874c24.tar.bz2
nixpkgs-67b5f39c7288073909302bc6ce2e7df094874c24.tar.lz
nixpkgs-67b5f39c7288073909302bc6ce2e7df094874c24.tar.xz
nixpkgs-67b5f39c7288073909302bc6ce2e7df094874c24.tar.zst
nixpkgs-67b5f39c7288073909302bc6ce2e7df094874c24.zip
scummvm: Don't use stdenv.cross
Diffstat (limited to 'pkgs/games/scummvm')
-rw-r--r--pkgs/games/scummvm/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix
index 29ba75f9aa2..e965fc459ad 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