From a81a64492fbf0ab25b87205850c9f0cd13e6b656 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 28 Jul 2020 21:23:34 +0200 Subject: gnu: anki: Don't phone home for updates. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/education.scm (anki)[arguments]: Add a ‘disable-update-check’ phase. --- gnu/packages/education.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/education.scm') diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 99e7b669b4..a4081cc374 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -758,6 +758,13 @@ adjust the level of difficulty.") (ice-9 match)) #:phases (modify-phases %standard-phases + (add-after 'unpack 'disable-update-check + ;; Don't ‘phone home’ unasked to check for updates. + (lambda _ + (substitute* "aqt/update.py" + (("requests\\.post") + "throw.an.exception.instead")) + #t)) (delete 'configure) ;no configure script (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) -- cgit v1.2.3