diff --git a/pkgs/by-name/sg/sgdboop/package.nix b/pkgs/by-name/sg/sgdboop/package.nix index 6ec7d9a1c03c..d967136b8041 100644 --- a/pkgs/by-name/sg/sgdboop/package.nix +++ b/pkgs/by-name/sg/sgdboop/package.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { # Hide the app from app launchers, as it is not meant to be run directly # Remove when https://github.com/SteamGridDB/SGDBoop/pull/112 is merged ./hide_desktop_entry.patch + # remove unused arg to fix build + ./remove-unused-arg.patch ]; makeFlags = [ diff --git a/pkgs/by-name/sg/sgdboop/remove-unused-arg.patch b/pkgs/by-name/sg/sgdboop/remove-unused-arg.patch new file mode 100644 index 000000000000..feea11499c22 --- /dev/null +++ b/pkgs/by-name/sg/sgdboop/remove-unused-arg.patch @@ -0,0 +1,31 @@ +From 74bea8b264fa5d7ded02db66e2500ba9d72b58cf Mon Sep 17 00:00:00 2001 +From: Fazzi +Date: Wed, 31 Dec 2025 20:57:45 +0000 +Subject: [PATCH] remove unused arg + +--- + sgdboop.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/sgdboop.c b/sgdboop.c +index f0d95c0..7e860f3 100644 +--- a/sgdboop.c ++++ b/sgdboop.c +@@ -1,4 +1,4 @@ +-#include ++#include + #include + #include + #include +@@ -1276,7 +1276,7 @@ int main(int argc, char** argv) + struct nonSteamApp* apps = getNonSteamApps(); + struct nonSteamApp* appsMods = NULL; + if (includeMods) { +- appsMods = getMods(includeMods); ++ appsMods = getMods(); + } + + // Exit with an error if nothing found +-- +2.51.2 +