nongnu: vscodium: Fix baked-in source in unpack overrides.

* nongnu/packages/editors.scm (vscodium)[#:phases]<unpack>: Replace source
G-expression by keyword argument source.

Signed-off-by: Jelle Licht <jlicht@fsfe.org>
This commit is contained in:
Isaac van Bakel 2024-10-28 12:31:12 +01:00 committed by Jelle Licht
parent aa1bfa802f
commit bb03bb5dba
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -44,9 +44,9 @@
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
(lambda _
(lambda* (#:key source #:allow-other-keys)
(mkdir-p "opt/vscodium")
(invoke "tar" "-xvf" #$source "-C" "opt/vscodium")))
(invoke "tar" "-xvf" source "-C" "opt/vscodium")))
(add-before 'install-wrapper 'install-entrypoint
(lambda _
(let* ((bin (string-append #$output "/bin")))