diff options
| author | John Kehayias <john.kehayias@protonmail.com> | 2025-02-05 00:47:06 -0500 |
|---|---|---|
| committer | John Kehayias <john.kehayias@protonmail.com> | 2025-02-09 14:11:50 -0500 |
| commit | 9d4664b3d2487770251cae3ead69256dd27ea312 (patch) | |
| tree | 7ab1d1e7d6d7ce2d3114dfc88f2b53be54d4ca6d | |
| parent | 35d63ed31ab4f2c907ab1e3058c14488f25e267d (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.scm | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/nongnu/packages/editors.scm b/nongnu/packages/editors.scm index 4d19646..9472882 100644 --- a/nongnu/packages/editors.scm +++ b/nongnu/packages/editors.scm | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files | 40 | (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files |
| 41 | #:substitutable? #f | 41 | #:substitutable? #f |
| 42 | #:wrapper-plan | 42 | #:wrapper-plan |
| 43 | #~'("opt/vscodium/codium") | 43 | #~'(("opt/vscodium/codium" (("out" "/opt/vscodium")))) |
| 44 | #:phases | 44 | #:phases |
| 45 | #~(modify-phases %standard-phases | 45 | #~(modify-phases %standard-phases |
| 46 | (replace 'unpack | 46 | (replace 'unpack |
| @@ -83,15 +83,7 @@ | |||
| 83 | #:startup-w-m-class "Code" | 83 | #:startup-w-m-class "Code" |
| 84 | #:comment | 84 | #:comment |
| 85 | '(("en" "Code Editing. Redefined.") | 85 | '(("en" "Code Editing. Redefined.") |
| 86 | (#f "Code Editing. Redefined.")))))) | 86 | (#f "Code Editing. Redefined."))))))))) |
| 87 | (add-after 'install-wrapper 'wrap-where-patchelf-does-not-work | ||
| 88 | (lambda _ | ||
| 89 | (wrap-program (string-append #$output "/bin/codium") | ||
| 90 | `("LD_LIBRARY_PATH" ":" | ||
| 91 | prefix | ||
| 92 | (,(string-join | ||
| 93 | (list (string-append #$output "/opt/vscodium")) | ||
| 94 | ":"))))))))) | ||
| 95 | (supported-systems '("armhf-linux" "aarch64-linux" "x86_64-linux")) | 87 | (supported-systems '("armhf-linux" "aarch64-linux" "x86_64-linux")) |
| 96 | (native-inputs | 88 | (native-inputs |
| 97 | (list tar)) | 89 | (list tar)) |
