gnu: pass-tomb: Use G-expressions.

* gnu/packages/password-utils.scm (pass-tomb): Use G-expressions.

Change-Id: Ic0eae41184d0beffe08caa47c3cafdcb58fa7480
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Cayetano Santos 2025-06-24 09:22:50 +02:00 committed by Sharlatan Hellseher
parent 09950f17e7
commit b46e2f8012
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1928,16 +1928,17 @@ encryption algorithm if so desired.")
(base32 "0cwik9v5pspyi0kgq6d2kaqy6gj3dgfn97nbjcbkbrbbc7syyd3v"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "PREFIX=" out)
(string-append "BASHCOMPDIR=" out "/etc/bash_completion.d")))
(list
#:make-flags
#~(list (string-append "PREFIX=" #$output)
(string-append "BASHCOMPDIR=" #$output
"/etc/bash_completion.d"))
#:test-target "tests"
;; tests are very dependent on system state (swap partition) and require
;; access to /tmp/zsh which is not in the build container.
#:tests? #f
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-tomb-path
(lambda* (#:key inputs #:allow-other-keys)
(let ((tomb (assoc-ref inputs "tomb")))