From: iyzsong--- via Bug reports for GNU Guix <bug-guix@gnu.org>
To: guix-patches@gnu.org
Cc: 65506@debbugs.gnu.org, 宋文武 <iyzsong@member.fsf.org>
Subject: bug#65506: [PATCH] gnu: anki: Fix preferences error.
Date: Fri, 25 Aug 2023 20:49:50 +0800 [thread overview]
Message-ID: <0fffd709734d941c668f52f1f5ceb3aa368bdb34.1692967772.git.iyzsong@member.fsf.org> (raw)
In-Reply-To: <ZOeGOPn804TyV2Uf@theoden>
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
parent reply other threads:[~2023-08-25 12:50 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <ZOeGOPn804TyV2Uf@theoden>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0fffd709734d941c668f52f1f5ceb3aa368bdb34.1692967772.git.iyzsong@member.fsf.org \
--to=bug-guix@gnu.org \
--cc=65506@debbugs.gnu.org \
--cc=guix-patches@gnu.org \
--cc=iyzsong@envs.net \
--cc=iyzsong@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).