me
/
guix
Archived
1
0
Fork 0

gnu: wgetpaste: Remove dead paste site.

* gnu/packages/wget.scm (wgetpaste)[arguments]: Add custom phase to
remove newly defunct paste site.
master
Efraim Flashner 2019-05-23 20:58:47 +03:00
parent e4ff9dffe7
commit 234999497d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 0 deletions

View File

@ -96,6 +96,14 @@ in downloaded documents to relative links.")
(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"))