mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: wgetpaste: Remove dead paste site.
* gnu/packages/wget.scm (wgetpaste)[arguments]: Add custom phase to remove newly defunct paste site.
This commit is contained in:
parent
e4ff9dffe7
commit
234999497d
1 changed files with 8 additions and 0 deletions
|
@ -96,6 +96,14 @@ (define-public wgetpaste
|
|||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'build)
|
||||
(add-after 'unpack 'remove-dead-paste-site
|
||||
;; This phase is adaped from the following patch:
|
||||
;; https://gitweb.gentoo.org/repo/gentoo.git/tree/app-text/wgetpaste/files/wgetpaste-remove-dead.patch
|
||||
(lambda _
|
||||
(substitute* "wgetpaste"
|
||||
((" poundpython\"") "\"")
|
||||
(("-poundpython") "-dpaste"))
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue