Skip to content

Commit

Permalink
simplenote: fail if cannot substitute in place
Browse files Browse the repository at this point in the history
  • Loading branch information
josephfinlayson committed Feb 18, 2025
1 parent 5189bd2 commit db50502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/si/simplenote/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ appimageTools.wrapType2 {
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
substituteInPlace $out/share/applications/${pname}.desktop \
--replace-warn 'Exec=AppRun' 'Exec=${pname}'
--replace-fail 'Exec=AppRun' 'Exec=${pname}'
cp -r ${appimageContents}/usr/share/icons $out/share
'';
Expand All @@ -36,7 +36,7 @@ appimageTools.wrapType2 {
];

desktopItems = [
makeDesktopItem
makeDesktopItem
{
name = pname;
exec = pname;
Expand Down

0 comments on commit db50502

Please sign in to comment.