mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
09950f17e7
commit
b46e2f8012
1 changed files with 18 additions and 17 deletions
|
@ -1928,23 +1928,24 @@ encryption algorithm if so desired.")
|
||||||
(base32 "0cwik9v5pspyi0kgq6d2kaqy6gj3dgfn97nbjcbkbrbbc7syyd3v"))))
|
(base32 "0cwik9v5pspyi0kgq6d2kaqy6gj3dgfn97nbjcbkbrbbc7syyd3v"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
(list
|
||||||
(let ((out (assoc-ref %outputs "out")))
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" out)
|
#~(list (string-append "PREFIX=" #$output)
|
||||||
(string-append "BASHCOMPDIR=" out "/etc/bash_completion.d")))
|
(string-append "BASHCOMPDIR=" #$output
|
||||||
#:test-target "tests"
|
"/etc/bash_completion.d"))
|
||||||
;; tests are very dependent on system state (swap partition) and require
|
#:test-target "tests"
|
||||||
;; access to /tmp/zsh which is not in the build container.
|
;; tests are very dependent on system state (swap partition) and require
|
||||||
#:tests? #f
|
;; access to /tmp/zsh which is not in the build container.
|
||||||
#:phases
|
#:tests? #f
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'set-tomb-path
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-after 'unpack 'set-tomb-path
|
||||||
(let ((tomb (assoc-ref inputs "tomb")))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "tomb.bash"
|
(let ((tomb (assoc-ref inputs "tomb")))
|
||||||
((":-tomb")
|
(substitute* "tomb.bash"
|
||||||
(string-append ":-" tomb "/bin/tomb"))))))
|
((":-tomb")
|
||||||
(delete 'configure))))
|
(string-append ":-" tomb "/bin/tomb"))))))
|
||||||
|
(delete 'configure))))
|
||||||
(inputs
|
(inputs
|
||||||
(list tomb))
|
(list tomb))
|
||||||
(home-page "https://github.com/roddhjav/pass-tomb")
|
(home-page "https://github.com/roddhjav/pass-tomb")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue