* bug#65506: [PATCH] gnu: anki: Fix preferences error.
[not found] <ZOeGOPn804TyV2Uf@theoden>
@ 2023-08-25 12:49 ` iyzsong--- via Bug reports for GNU Guix
0 siblings, 0 replies; only message in thread
From: iyzsong--- via Bug reports for GNU Guix @ 2023-08-25 12:49 UTC (permalink / raw)
To: guix-patches; +Cc: 65506, 宋文武
From: 宋文武 <iyzsong@member.fsf.org>
Fixes <https://issues.guix.gnu.org/65506>.
* gnu/packages/education.scm (anki)[source]: Add snippet.
---
gnu/packages/education.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index bb307cf7ab..21c8a60c0b 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)))
+ ;; #65506 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
base-commit: 1c916c167b7eb1f2f8af2cf621aa1512b00b1033
--
2.41.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-25 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <ZOeGOPn804TyV2Uf@theoden>
2023-08-25 12:49 ` bug#65506: [PATCH] gnu: anki: Fix preferences error iyzsong--- via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).