about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/trezor-suite
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2021-04-17 12:38:37 +0200
committerPavol Rusnak <pavol@rusnak.io>2021-04-17 12:48:13 +0200
commit28de4ac62a9839145f3564ce0f24c15301a010c9 (patch)
tree9ceca3e7d6ba2a738256f932aa46e2674f40719b /pkgs/applications/blockchains/trezor-suite
parent09da9d9473bc85d7ec59a771f148106ec94bf02f (diff)
treewide: make AppRun substitutions constistent
Diffstat (limited to 'pkgs/applications/blockchains/trezor-suite')
-rw-r--r--pkgs/applications/blockchains/trezor-suite/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/trezor-suite/default.nix b/pkgs/applications/blockchains/trezor-suite/default.nix
index 098a948c84558..68b83aff88dca 100644
--- a/pkgs/applications/blockchains/trezor-suite/default.nix
+++ b/pkgs/applications/blockchains/trezor-suite/default.nix
@@ -35,7 +35,8 @@ appimageTools.wrapType2 rec {
     install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
     install -m 444 -D ${appimageContents}/${pname}.png $out/share/icons/hicolor/512x512/apps/${pname}.png
     install -m 444 -D ${appimageContents}/resources/images/icons/512x512.png $out/share/icons/hicolor/512x512/apps/${pname}.png
-    substituteInPlace $out/share/applications/trezor-suite.desktop --replace 'Exec=AppRun' 'Exec=${pname}'
+    substituteInPlace $out/share/applications/${pname}.desktop \
+      --replace 'Exec=AppRun' 'Exec=${pname}'
 
     # symlink system binaries instead bundled ones
     mkdir -p $out/share/${pname}/resources/bin/{bridge,tor}