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

* nongnu/packages/k8s.scm (kompose)[#:phases]<unpack>: Replace #$source by
keyword argument source.

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

View file

@ -132,8 +132,8 @@ view logs.")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'unpack (replace 'unpack
(lambda _ (lambda* (#:key source #:allow-other-keys)
(copy-file #$source "./kompose"))) (copy-file source "./kompose")))
(add-before 'install 'chmod (add-before 'install 'chmod
(lambda _ (lambda _
(chmod "kompose" #o555)))))) (chmod "kompose" #o555))))))