diff --git a/modules/pkgs/handy.nix b/modules/pkgs/handy.nix index 67fb625..4d646a1 100644 --- a/modules/pkgs/handy.nix +++ b/modules/pkgs/handy.nix @@ -17,6 +17,7 @@ install -m 444 -D "$desktop_file" "$out/share/applications/${pname}.desktop" substituteInPlace "$out/share/applications/${pname}.desktop" \ --replace 'Exec=AppRun' 'Exec=${pname}' || true + sed -i -E 's|^Exec=.*$|Exec=${pname}|g' "$out/share/applications/${pname}.desktop" || true fi if [ -d ${contents}/usr/share/icons ]; then