itgmania: remove obsolete patch
This commit is contained in:
@@ -17,23 +17,11 @@
|
||||
# - https://fitupyourstyle.com/
|
||||
# allows search by difficulty
|
||||
# - dl packs from <https://stepmaniaonline.net>
|
||||
{ lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
sane.programs.itgmania = {
|
||||
buildCost = 1;
|
||||
|
||||
packageUnwrapped = pkgs.itgmania.overrideAttrs (upstream: {
|
||||
# XXX(2024-12-29): itgmania (and stepmania) have to be run from their bin directory, else they silently exit
|
||||
nativeBuildInputs = upstream.nativeBuildInputs ++ [
|
||||
pkgs.makeWrapper
|
||||
];
|
||||
postInstall = lib.replaceStrings
|
||||
[ "ln -s $out/itgmania/itgmania $out/bin/itgmania" ]
|
||||
[ "makeWrapper $out/itgmania/itgmania $out/bin/itgmania --run 'cd ${placeholder "out"}/itgmania'" ]
|
||||
upstream.postInstall
|
||||
;
|
||||
});
|
||||
|
||||
sandbox.whitelistAudio = true;
|
||||
sandbox.whitelistDri = true;
|
||||
sandbox.whitelistX = true; #< TODO: is this needed? try QT_QPA_PLATFORM=wayland or SDL_VIDEODRIVER=wayland
|
||||
|
Reference in New Issue
Block a user