HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd0a00
)
gnu: anki: Don't phone home for updates.
author
Tobias Geerinckx-Rice
<me@tobias.gr>
Tue, 28 Jul 2020 19:23:34 +0000
(21:23 +0200)
committer
Tobias Geerinckx-Rice
<me@tobias.gr>
Tue, 28 Jul 2020 19:25:57 +0000
(21:25 +0200)
* gnu/packages/education.scm (anki)[arguments]: Add a
‘disable-update-check’ phase.
gnu/packages/education.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/education.scm
b/gnu/packages/education.scm
index
99e7b66
..
a4081cc
100644
(file)
--- 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)