From 0b0b5d75016bcdf7c6f7c540ef80a15e7542d2b5 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 31 Jul 2018 16:47:44 +0200 Subject: games: Move FMOD fixing from Bastion to setup hook Thanks to @layus for pointing out that there is at least one other game (Epistory) which has the same FMOD issue as Bastion has. So I decided to move this into a setup hook that automatically discovers whether it's the affected FMOD version and NOPs out the calls to system(). In summary: If another game is affected, all that's needed now is to add fixFmodHook to nativeBuildInputs. Signed-off-by: aszlig Cc: @layus --- pkgs/games/build-support/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/games/build-support/default.nix') diff --git a/pkgs/games/build-support/default.nix b/pkgs/games/build-support/default.nix index 0e7574ec..ac152659 100644 --- a/pkgs/games/build-support/default.nix +++ b/pkgs/games/build-support/default.nix @@ -7,5 +7,5 @@ buildUnity = callPackage ./build-unity.nix {}; monogamePatcher = callPackage ./monogame-patcher {}; - inherit (callPackages ./setup-hooks {}) gogUnpackHook; + inherit (callPackages ./setup-hooks {}) fixFmodHook gogUnpackHook; } -- cgit 1.4.1