From 57ea4dfca1212687213a2db8cd47addf85e2ea3f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 1 Sep 2020 03:01:33 +0200 Subject: gnu: wgetpaste: Fix historical confusion. * gnu/packages/wget.scm (wgetpaste)[arguments]: Fix the reversed substitution and clarify its purpose. --- gnu/packages/wget.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/wget.scm b/gnu/packages/wget.scm index d7ac9e0c12..0c6d27471b 100644 --- a/gnu/packages/wget.scm +++ b/gnu/packages/wget.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014, 2015, 2017, 2018 Ludovic Courtès ;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner ;;; Copyright © 2017 Rutger Helling -;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -94,12 +94,12 @@ 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 + (add-after 'unpack 'change-unfriendly-default (lambda _ (substitute* "wgetpaste" - (("-bpaste") "-dpaste")) ; dpaste blocks tor users + ;; dpaste blocks Tor users. Use a better default. + (("DEFAULT_SERVICE:-dpaste") + "DEFAULT_SERVICE-bpaste")) #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) -- cgit 1.4.1