about summary refs log tree commit diff
path: root/pkgs/games/build-support/build-game.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/build-support/build-game.nix')
-rw-r--r--pkgs/games/build-support/build-game.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/games/build-support/build-game.nix b/pkgs/games/build-support/build-game.nix
index 5c1f1ef4..459fca75 100644
--- a/pkgs/games/build-support/build-game.nix
+++ b/pkgs/games/build-support/build-game.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, file, unzip, buildSandbox, autoPatchelfHook
+{ stdenv, lib, file, unzip, buildSandbox, autoPatchelfHook, gogUnpackHook
 
 , withPulseAudio ? true, libpulseaudio ? null
 , alsaLib
@@ -18,7 +18,9 @@ assert withPulseAudio -> libpulseaudio != null;
 buildSandbox (stdenv.mkDerivation ({
   buildInputs = [ stdenv.cc.cc ] ++ buildInputs;
 
-  nativeBuildInputs = [ unzip autoPatchelfHook ] ++ nativeBuildInputs;
+  nativeBuildInputs = [
+    unzip autoPatchelfHook gogUnpackHook
+  ] ++ nativeBuildInputs;
 
   preUnpack = preUnpack + ''
     mkdir "$name"