From aced1d8cad90132263523e49162434f73e752669 Mon Sep 17 00:00:00 2001 From: Bauke Date: Sat, 11 Mar 2023 11:05:29 +0100 Subject: [PATCH] Fix the samrewritten.desktop Exec path. --- .bauke/nix/stardust/samrewritten.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bauke/nix/stardust/samrewritten.nix b/.bauke/nix/stardust/samrewritten.nix index 7ede6a0..1d80fe9 100644 --- a/.bauke/nix/stardust/samrewritten.nix +++ b/.bauke/nix/stardust/samrewritten.nix @@ -25,6 +25,11 @@ stdenv.mkDerivation rec { installFlags = [ "PREFIX=$(out)" ]; + postInstall = '' + substituteInPlace "$out/share/applications/samrewritten.desktop" \ + --replace "Exec=/usr" "Exec=$out" + ''; + meta = with lib; { description = "Steam Achievement Manager For Linux. Rewritten in C++."; homepage = "https://github.com/PaulCombal/SamRewritten";