diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2023-08-25 20:49:50 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2023-08-28 18:07:17 +0800 |
commit | 7533ed956c100a04d08a2537a4700eb9ecbcb987 (patch) | |
tree | ecc292620f2c38be8665690c3ea1cadeaa9c57cd /gnu/packages/education.scm | |
parent | 23bcc8576540b10aad62af375302b4e223bd176c (diff) | |
download | guix-7533ed956c100a04d08a2537a4700eb9ecbcb987.tar.gz guix-7533ed956c100a04d08a2537a4700eb9ecbcb987.zip |
gnu: anki: Fix preferences error.
Fixes <https://issues.guix.gnu.org/65506>.
* gnu/packages/education.scm (anki)[source]: Add snippet.
Diffstat (limited to 'gnu/packages/education.scm')
-rw-r--r-- | gnu/packages/education.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index bb307cf7ab..d1e220ebcd 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -737,6 +737,13 @@ stored and user can review his performance in any time.") version "-source.tgz")) (sha256 (base32 "1gfr51rnllkyzli73p4r51h5ypzfa3m7lic3m3rzpywmqwrxs07k")) + (modules '((guix build utils))) + ;; Fix preferences error: <https://issues.guix.gnu.org/65506>. + (snippet '(substitute* "aqt/preferences.py" + (("qc\\['collapseTime']/60\\.0" x) + (format #f "int(~a)" x)) + (("qc\\['timeLim']/60\\.0" x) + (format #f "int(~a)" x)))) (patches (search-patches "anki-mpv-args.patch")))) (build-system gnu-build-system) (arguments |