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";