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

* nongnu/packages/k8s.scm (kubectl)[#: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:01 +01:00 committed by Jelle Licht
parent c1fb20ea53
commit b91474f15e
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -96,8 +96,8 @@ Helm Chart for Kubernetes.")
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
(lambda _
(copy-file #$source "./kubectl")
(lambda* (#:key source #:allow-other-keys)
(copy-file source "./kubectl")
(chmod "kubectl" #o644)))
(add-before 'install 'chmod
(lambda _