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.
This commit is contained in:
parent
8c1658014a
commit
35d63ed31a
|
@ -52,7 +52,7 @@
|
|||
(arguments
|
||||
(list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files
|
||||
#:wrapper-plan
|
||||
#~'("lib/Element/element-desktop")
|
||||
#~'(("lib/Element/element-desktop" (("out" "/lib/Element"))))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'binary-unpack 'setup-cwd
|
||||
|
@ -70,15 +70,7 @@
|
|||
(lambda _
|
||||
(mkdir-p (string-append #$output "/bin"))
|
||||
(symlink (string-append #$output "/lib/Element/element-desktop")
|
||||
(string-append #$output "/bin/element-desktop"))))
|
||||
(add-after 'install-wrapper 'wrap-where-patchelf-does-not-work
|
||||
(lambda _
|
||||
(wrap-program (string-append #$output "/lib/Element/element-desktop")
|
||||
`("LD_LIBRARY_PATH" ":" prefix
|
||||
(,(string-join
|
||||
(list
|
||||
(string-append #$output "/lib/Element"))
|
||||
":")))))))))
|
||||
(string-append #$output "/bin/element-desktop")))))))
|
||||
(home-page "https://github.com/vector-im/element-desktop")
|
||||
(synopsis "Matrix collaboration client for desktop")
|
||||
(description "Element Desktop is a Matrix client for desktop with Element Web at
|
||||
|
|
Loading…
Reference in New Issue
Block a user