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
|
(list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files
|
||||||
#:substitutable? #f
|
#:substitutable? #f
|
||||||
#:wrapper-plan
|
#:wrapper-plan
|
||||||
#~'("opt/vscodium/codium")
|
#~'(("opt/vscodium/codium" (("out" "/opt/vscodium"))))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'unpack
|
(replace 'unpack
|
||||||
|
@ -83,15 +83,7 @@
|
||||||
#:startup-w-m-class "Code"
|
#:startup-w-m-class "Code"
|
||||||
#:comment
|
#:comment
|
||||||
'(("en" "Code Editing. Redefined.")
|
'(("en" "Code Editing. Redefined.")
|
||||||
(#f "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"))
|
|
||||||
":")))))))))
|
|
||||||
(supported-systems '("armhf-linux" "aarch64-linux" "x86_64-linux"))
|
(supported-systems '("armhf-linux" "aarch64-linux" "x86_64-linux"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list tar))
|
(list tar))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user