summary refs log tree commit diff
path: root/pkgs/applications/misc/zettlr/default.nix
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/misc/zettlr/default.nix
parent09da9d9473bc85d7ec59a771f148106ec94bf02f (diff)
downloadnixpkgs-28de4ac62a9839145f3564ce0f24c15301a010c9.tar
nixpkgs-28de4ac62a9839145f3564ce0f24c15301a010c9.tar.gz
nixpkgs-28de4ac62a9839145f3564ce0f24c15301a010c9.tar.bz2
nixpkgs-28de4ac62a9839145f3564ce0f24c15301a010c9.tar.lz
nixpkgs-28de4ac62a9839145f3564ce0f24c15301a010c9.tar.xz
nixpkgs-28de4ac62a9839145f3564ce0f24c15301a010c9.tar.zst
nixpkgs-28de4ac62a9839145f3564ce0f24c15301a010c9.zip
treewide: make AppRun substitutions constistent
Diffstat (limited to 'pkgs/applications/misc/zettlr/default.nix')
-rw-r--r--pkgs/applications/misc/zettlr/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/misc/zettlr/default.nix b/pkgs/applications/misc/zettlr/default.nix
index eb8c81dae7e..3d7f5629123 100644
--- a/pkgs/applications/misc/zettlr/default.nix
+++ b/pkgs/applications/misc/zettlr/default.nix
@@ -33,7 +33,8 @@ appimageTools.wrapType2 rec {
     mv $out/bin/{${name},${pname}}
     install -m 444 -D ${appimageContents}/Zettlr.desktop $out/share/applications/zettlr.desktop
     install -m 444 -D ${appimageContents}/Zettlr.png $out/share/icons/hicolor/512x512/apps/zettlr.png
-    substituteInPlace $out/share/applications/zettlr.desktop --replace 'Exec=AppRun' 'Exec=${pname}'
+    substituteInPlace $out/share/applications/zettlr.desktop \
+      --replace 'Exec=AppRun' 'Exec=${pname}'
   '';
 
   meta = with lib; {