I’ve just downloaded a game (Graveyard Keeper) from GOG. It comes as an installer shell script that has binary information at the end. I installed and ran it via steam-run
, which was fine. Ideally I’d like to write a Nix expression for it.
Is there a Nix expression in nixpkgs that I can take a look at that either runs the installer somehow, or that extracts the binary data at the end? I can apparently run ./installer --target $dir
, but then the installer runs itself and fails because of the linker path in the executable, so I just wanted to ask if somebody did the work of wrapping this in Nix somewhere.