about summary refs log tree commit diff
path: root/pkgs/games/humblebundle/bastion.nix
Commit message (Collapse)AuthorAgeFilesLines
* games: Move FMOD fixing from Bastion to setup hookaszlig2018-07-311-49/+3
| | | | | | | | | | | | | | | 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 <aszlig@nix.build> Cc: @layus
* games/bastion: Fix patching of libfmodexaszlig2018-07-291-2/+4
| | | | | | | | | | | | | | I've recently moved the autoPatchelfHook execution to postFixup in NixOS/nixpkgs@f1fbf818c4a94c67fcdb171ba00f1fef4a0aef2a, because it was conflicting with patchelf's own setup hook. So we now need to run the fixup of libfmodex after the autoPatchelfHook, which we do by adding another phase in postPhases. Alongside this I also fixed a small escaping error with ${rpath:+:}, which needs to be quoted using two single quotes. Signed-off-by: aszlig <aszlig@nix.build>
* games/bastion: Refactor Nix expression and updateaszlig2018-07-151-54/+134
| | | | | | | | | | | | | | | | | | | | | | | | With fetchHumbleBundle finally being able to fetch the game with my account, I think it's time to update the Nix expression. :-) The game's binary is basically nothing more than just a wrapped Mono, so we can use directly Mono from <nixpkgs> instead of patching the wrapper. I also stubbed out the symbols for libsteam_api.so, which might be a good idea to provide for other games as well but in a more generic way. Another thing that was needed solely because of my stubbornness was to patch out the system() libc library call in libfmodex.so, because I didn't want to add /bin/sh to the sandbox. So in summary: The new expression now is sandboxed, doesn't use the wrapper anymore and also has a desktop entry :-) Unfortunately I haven't found a changelog online to see what has changed between the 20120620 and 20161016. Signed-off-by: aszlig <aszlig@nix.build> Cc: @layus
* Merge aszlig/nixgames into vuizvuiaszlig2016-02-081-0/+62
This is a subtree merge of the full nixgames repository including history. Right now it isn't linked to vuizvui at all but we're going to do that very soon. The reason why I'm merging both repositories together is that it's easier for me to manage updates and also facilitate contributions by people from the OpenLab. Another reason to merge it is that we can write more generic functions for building both, the games and the rest. Right now the licensing is still the Apache License version 2.0, but we're going to change it to the vuizvui license as well.