nongnu: vscodium: Update wrapper-plan to include binary path.
* nongnu/packages/editors.scm (vscodium)[arguments]<#:wrapper-plan>: Add the path for codium 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
35d63ed31a
commit
9d4664b3d2
|
@ -40,7 +40,7 @@
|
|||
(list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files
|
||||
#:substitutable? #f
|
||||
#:wrapper-plan
|
||||
#~'("opt/vscodium/codium")
|
||||
#~'(("opt/vscodium/codium" (("out" "/opt/vscodium"))))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'unpack
|
||||
|
@ -83,15 +83,7 @@
|
|||
#:startup-w-m-class "Code"
|
||||
#:comment
|
||||
'(("en" "Code Editing. Redefined.")
|
||||
(#f "Code Editing. Redefined."))))))
|
||||
(add-after 'install-wrapper 'wrap-where-patchelf-does-not-work
|
||||
(lambda _
|
||||
(wrap-program (string-append #$output "/bin/codium")
|
||||
`("LD_LIBRARY_PATH" ":"
|
||||
prefix
|
||||
(,(string-join
|
||||
(list (string-append #$output "/opt/vscodium"))
|
||||
":")))))))))
|
||||
(#f "Code Editing. Redefined.")))))))))
|
||||
(supported-systems '("armhf-linux" "aarch64-linux" "x86_64-linux"))
|
||||
(native-inputs
|
||||
(list tar))
|
||||
|
|
Loading…
Reference in New Issue
Block a user