summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2025-02-04 22:05:05 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2025-02-09 14:11:48 -0500
commit35d63ed31ab4f2c907ab1e3058c14488f25e267d (patch)
tree2bb036458a619e55c3681507e73c02fa7a14a118
parent8c1658014a6579dee6040b65e75664434e8bafd0 (diff)
nongnu: element-desktop: Update wrapper-plan to include binary path.
* nongnu/packages/messaging.scm (element-desktop)[arguments]<#:wrapper-plan>: Add the path for element-desktop to its wrapper-plan. <#:phases>: Remove wrap-where-patchelf-does-not-work phase as it is no longer needed.
-rw-r--r--nongnu/packages/messaging.scm12
1 files changed, 2 insertions, 10 deletions
diff --git a/nongnu/packages/messaging.scm b/nongnu/packages/messaging.scm
index b8a8e31..e7236e8 100644
--- a/nongnu/packages/messaging.scm
+++ b/nongnu/packages/messaging.scm
@@ -52,7 +52,7 @@
52 (arguments 52 (arguments
53 (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files 53 (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files
54 #:wrapper-plan 54 #:wrapper-plan
55 #~'("lib/Element/element-desktop") 55 #~'(("lib/Element/element-desktop" (("out" "/lib/Element"))))
56 #:phases 56 #:phases
57 #~(modify-phases %standard-phases 57 #~(modify-phases %standard-phases
58 (add-after 'binary-unpack 'setup-cwd 58 (add-after 'binary-unpack 'setup-cwd
@@ -70,15 +70,7 @@
70 (lambda _ 70 (lambda _
71 (mkdir-p (string-append #$output "/bin")) 71 (mkdir-p (string-append #$output "/bin"))
72 (symlink (string-append #$output "/lib/Element/element-desktop") 72 (symlink (string-append #$output "/lib/Element/element-desktop")
73 (string-append #$output "/bin/element-desktop")))) 73 (string-append #$output "/bin/element-desktop")))))))
74 (add-after 'install-wrapper 'wrap-where-patchelf-does-not-work
75 (lambda _
76 (wrap-program (string-append #$output "/lib/Element/element-desktop")
77 `("LD_LIBRARY_PATH" ":" prefix
78 (,(string-join
79 (list
80 (string-append #$output "/lib/Element"))
81 ":")))))))))
82 (home-page "https://github.com/vector-im/element-desktop") 74 (home-page "https://github.com/vector-im/element-desktop")
83 (synopsis "Matrix collaboration client for desktop") 75 (synopsis "Matrix collaboration client for desktop")
84 (description "Element Desktop is a Matrix client for desktop with Element Web at 76 (description "Element Desktop is a Matrix client for desktop with Element Web at