summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2023-08-06 12:42:06 -0400
committerJohn Kehayias <john.kehayias@protonmail.com>2023-08-06 12:42:06 -0400
commit1a3082c574077aaf6771ff927e725fc390a2d531 (patch)
tree6ea2bb7469c81eda51602cb0a41d48b734bf1c61
parent6a752f24d3d116b7c4ebe6269b7852f00010d8ad (diff)
gnu: element-desktop: Fix .desktop file.
* nongnu/packages/messaging.scm (element-desktop)[phases]{unpack}: Fix the .desktop file binary location to be 'bin' rather than 'lib/Element'.
-rw-r--r--nongnu/packages/messaging.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/nongnu/packages/messaging.scm b/nongnu/packages/messaging.scm
index a5cd3bb..eeab352 100644
--- a/nongnu/packages/messaging.scm
+++ b/nongnu/packages/messaging.scm
@@ -69,7 +69,7 @@
69 ;; Fix the .desktop file binary location. 69 ;; Fix the .desktop file binary location.
70 (substitute* '("share/applications/element-desktop.desktop") 70 (substitute* '("share/applications/element-desktop.desktop")
71 (("/opt/Element/") 71 (("/opt/Element/")
72 (string-append #$output "/lib/Element/"))))) 72 (string-append #$output "/bin/")))))
73 (add-after 'install 'symlink-binary-file-and-cleanup 73 (add-after 'install 'symlink-binary-file-and-cleanup
74 (lambda _ 74 (lambda _
75 (delete-file (string-append #$output "/environment-variables")) 75 (delete-file (string-append #$output "/environment-variables"))