mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: anki: Don't phone home for updates.
* gnu/packages/education.scm (anki)[arguments]: Add a ‘disable-update-check’ phase.
This commit is contained in:
parent
ccd0a009dc
commit
a81a64492f
1 changed files with 7 additions and 0 deletions
|
@ -758,6 +758,13 @@ (define-public anki
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue