mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 04:40:06 -05:00
gnu: wgetpaste: Remove trailing #t from phases.
* gnu/packages/wget.scm (wgetpaste)[arguments]: Remove trailing #t from phases.
This commit is contained in:
parent
c62be7d530
commit
50970a28b7
1 changed files with 3 additions and 6 deletions
|
@ -100,16 +100,14 @@ (define-public wgetpaste
|
||||||
(substitute* "wgetpaste"
|
(substitute* "wgetpaste"
|
||||||
;; dpaste blocks Tor users. Use a better default.
|
;; dpaste blocks Tor users. Use a better default.
|
||||||
(("DEFAULT_SERVICE:-dpaste")
|
(("DEFAULT_SERVICE:-dpaste")
|
||||||
"DEFAULT_SERVICE-bpaste"))
|
"DEFAULT_SERVICE-bpaste"))))
|
||||||
#t))
|
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(bin (string-append out "/bin"))
|
(bin (string-append out "/bin"))
|
||||||
(zsh (string-append out "/share/zsh/site-functions")))
|
(zsh (string-append out "/share/zsh/site-functions")))
|
||||||
(install-file "wgetpaste" bin)
|
(install-file "wgetpaste" bin)
|
||||||
(install-file "_wgetpaste" zsh)
|
(install-file "_wgetpaste" zsh))))
|
||||||
#t)))
|
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
;; /bin/wgetpaste prides itself on relying only on the following
|
;; /bin/wgetpaste prides itself on relying only on the following
|
||||||
;; inputs, and doesn't need to execute arbitrary commands, so
|
;; inputs, and doesn't need to execute arbitrary commands, so
|
||||||
|
@ -121,8 +119,7 @@ (define-public wgetpaste
|
||||||
,(delete-duplicates
|
,(delete-duplicates
|
||||||
(map (lambda (command) (dirname (which command)))
|
(map (lambda (command) (dirname (which command)))
|
||||||
(list "bash" "mktemp" "sed" "sort" "tee" "tr"
|
(list "bash" "mktemp" "sed" "sort" "tee" "tr"
|
||||||
"wget" "xclip")))))
|
"wget" "xclip")))))))))
|
||||||
#t))))
|
|
||||||
#:tests? #f)) ; no test target
|
#:tests? #f)) ; no test target
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal wget xclip))
|
(list bash-minimal wget xclip))
|
||||||
|
|
Loading…
Reference in a new issue