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 @@ (define-public anki version "-source.tgz")) (sha256 (base32 "1gfr51rnllkyzli73p4r51h5ypzfa3m7lic3m3rzpywmqwrxs07k")) + (modules '((guix build utils))) + ;; Fix preferences error: . + (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