itgmania: remove obsolete patch
This commit is contained in:
@@ -17,23 +17,11 @@
|
|||||||
# - https://fitupyourstyle.com/
|
# - https://fitupyourstyle.com/
|
||||||
# allows search by difficulty
|
# allows search by difficulty
|
||||||
# - dl packs from <https://stepmaniaonline.net>
|
# - dl packs from <https://stepmaniaonline.net>
|
||||||
{ lib, pkgs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
sane.programs.itgmania = {
|
sane.programs.itgmania = {
|
||||||
buildCost = 1;
|
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.whitelistAudio = true;
|
||||||
sandbox.whitelistDri = true;
|
sandbox.whitelistDri = true;
|
||||||
sandbox.whitelistX = true; #< TODO: is this needed? try QT_QPA_PLATFORM=wayland or SDL_VIDEODRIVER=wayland
|
sandbox.whitelistX = true; #< TODO: is this needed? try QT_QPA_PLATFORM=wayland or SDL_VIDEODRIVER=wayland
|
||||||
|
Reference in New Issue
Block a user