summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2025-02-05 00:47:06 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2025-02-09 14:11:50 -0500
commit9d4664b3d2487770251cae3ead69256dd27ea312 (patch)
tree7ab1d1e7d6d7ce2d3114dfc88f2b53be54d4ca6d
parent35d63ed31ab4f2c907ab1e3058c14488f25e267d (diff)
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.
-rw-r--r--nongnu/packages/editors.scm12
1 files changed, 2 insertions, 10 deletions
diff --git a/nongnu/packages/editors.scm b/nongnu/packages/editors.scm
index 4d19646f..9472882a 100644
--- a/nongnu/packages/editors.scm
+++ b/nongnu/packages/editors.scm
@@ -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))