From 824cbe992255b202ac4d2005a0d4b739e14a7973 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 18 Nov 2024 16:43:09 +0100 Subject: [PATCH] gamepad-tool: remove absolute icon path Signed-off-by: Sefa Eyeoglu --- pkgs/by-name/ga/gamepad-tool/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ga/gamepad-tool/package.nix b/pkgs/by-name/ga/gamepad-tool/package.nix index f31c4ca927ad..3ca6cabddf62 100644 --- a/pkgs/by-name/ga/gamepad-tool/package.nix +++ b/pkgs/by-name/ga/gamepad-tool/package.nix @@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { cp -r usr/share/icons $out/share/icons substitute usr/share/applications/gamepad-tool-debian.desktop \ $out/share/applications/gamepad-tool.desktop \ - --replace "/usr/share/icons/hicolor/256x256/apps/gamepad-tool.png" "$out/share/icons/hicolor/256x256/apps/gamepad-tool.png" + --replace-fail "/usr/share/icons/hicolor/256x256/apps/gamepad-tool.png" "gamepad-tool" runHook postInstall '';