me
/
guix
Archived
1
0
Fork 0

gnu: anki: Don't phone home for updates.

* gnu/packages/education.scm (anki)[arguments]: Add a
‘disable-update-check’ phase.
master
Tobias Geerinckx-Rice 2020-07-28 21:23:34 +02:00
parent ccd0a009dc
commit a81a64492f
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 0 deletions

View File

@ -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)