Skip to content

Commit 2c5fb67

Browse files
committed
use variable for binary name
1 parent e3aa3a1 commit 2c5fb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/obsidian-smart-connect/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ in appimageTools.wrapType2 {
2929
install -m 444 -D ${appimageContents}/smart-connect.desktop $out/share/applications/smart-connect.desktop
3030
3131
substituteInPlace $out/share/applications/smart-connect.desktop \
32-
--replace-fail 'Exec=AppRun --no-sandbox' 'Exec=smart-connect'
32+
--replace-fail 'Exec=AppRun --no-sandbox' 'Exec=${pname}'
3333
'';
3434

3535
meta = with lib; {

0 commit comments

Comments
 (0)