diff options
author | Cayetano Santos <csantosb@inventati.org> | 2025-06-24 09:22:50 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-24 10:54:05 +0100 |
commit | b46e2f8012ae7befb4a38e876fc31a0999019b4e (patch) | |
tree | 3c0acc2ac8369b503d014d3580632aea43e48e44 | |
parent | 09950f17e7dc0c4cc3c8b9793fd93df187ac13c2 (diff) |
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>
-rw-r--r-- | gnu/packages/password-utils.scm | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index e1a6627acb..a0e33e2074 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -1928,23 +1928,24 @@ 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"))) - #: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 - (add-after 'unpack 'set-tomb-path - (lambda* (#:key inputs #:allow-other-keys) - (let ((tomb (assoc-ref inputs "tomb"))) - (substitute* "tomb.bash" - ((":-tomb") - (string-append ":-" tomb "/bin/tomb")))))) - (delete 'configure)))) + (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 + (add-after 'unpack 'set-tomb-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((tomb (assoc-ref inputs "tomb"))) + (substitute* "tomb.bash" + ((":-tomb") + (string-append ":-" tomb "/bin/tomb")))))) + (delete 'configure)))) (inputs (list tomb)) (home-page "https://github.com/roddhjav/pass-tomb") |