From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CBrTD5Cj6GSUIAAASxT56A (envelope-from ) for ; Fri, 25 Aug 2023 14:50:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKOkD5Cj6GRkQgAAauVa8A (envelope-from ) for ; Fri, 25 Aug 2023 14:50:24 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C7DD952003 for ; Fri, 25 Aug 2023 14:50:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=Been6i7K; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692967824; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=M/hfhVmBq9gvL7OVAsJo03gM5nuPXV66M/d2I1eYG/I=; b=LhZJDQ97z8pPRvh4Oe/OXOWGREntOd3QpUTGozOS8lQ7q6ffG5b0iG7Y07/818ol+x2qyv YP3TkQotdjD33pnwKYfqe5POFRS3wChmv1Ycnf2aOfRJb8lmJJaM02cTd426upZxMIB9Po 6ELzS4xmXGfFLD+ulDwY9hIeLW1nLKOAPm7KrBWiPRoTEj3rYSstHp0XNlxeoT/8VE0btK PdB8vS4HjTZFIFYndIJAzZxnnvUsEAWJYe5qr1rm7t6w5IUKXCy9oHbx6KZMvd/w6pTqC5 5o8wUh5VrvFg3oYfSOMRYJiqYJljQhbPUo9GzXDbcY86dPt4vUz9jeQvgfDxww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=Been6i7K; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692967824; a=rsa-sha256; cv=none; b=Nhlo9TEQQrZ470Ca22JV5HjBLr5OyxOwv8JvWSH7dEoe+FgmGhLziZfhF5OIxhbNHOv2KO ZXQoVhySDGIgK50Q2i0/SpqviPzCysC5KBYXaAzwaIb3ANDLpqDQiGS2XcQ56ODo3eoC/D umIFLBNQ0euvSrjosDaY/SOXC8rQTOsFlJsMxTB/VbLAyszNUmEUtXPAOnD9dPw/JqtVMx dyPzI3I5kPW9n+wW70kfDEuGLfDdy5N4UqxUUm+EJQuOFIoK+hueVzqLyFzTFDFErheoCI e6M/1guaFl9UG+qO9JSe9tqnv2Dn2H47gyekPOQioBvcbJfzzhbFPX44lwPkJA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZWGM-00067g-Qk; Fri, 25 Aug 2023 08:50:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZWGE-00067P-9q for bug-guix@gnu.org; Fri, 25 Aug 2023 08:49:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZWGE-0002mO-1a for bug-guix@gnu.org; Fri, 25 Aug 2023 08:49:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZWGI-0002Zd-Bj for bug-guix@gnu.org; Fri, 25 Aug 2023 08:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65506: [PATCH] gnu: anki: Fix preferences error. References: In-Reply-To: Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 25 Aug 2023 12:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65506 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: guix-patches@gnu.org Cc: 65506@debbugs.gnu.org, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 65506-submit@debbugs.gnu.org id=B65506.16929677949872 (code B ref 65506); Fri, 25 Aug 2023 12:50:02 +0000 Received: (at 65506) by debbugs.gnu.org; 25 Aug 2023 12:49:54 +0000 Received: from localhost ([127.0.0.1]:39525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZWGA-0002ZA-HF for submit@debbugs.gnu.org; Fri, 25 Aug 2023 08:49:54 -0400 Received: from mail.envs.net ([5.199.136.28]:58422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZWG5-0002Yw-9Y for 65506@debbugs.gnu.org; Fri, 25 Aug 2023 08:49:52 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 26D0F38A0136; Fri, 25 Aug 2023 12:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1692967782; bh=M/hfhVmBq9gvL7OVAsJo03gM5nuPXV66M/d2I1eYG/I=; h=From:To:Cc:Subject:Date:From; b=Been6i7K9LFTVU6NVsa/GTEQVHoSKyraBY7XEXKIhTCHZH96ZJDDgGF/jj+sh9J2T JUyj83tQ5mZo1QK3fgnDqAbqjrxNTUhOowRIPU2I2bYRo15CDPSTrquMWlDCzamtN8 NWalNkC1jXEeJ56v6pxTHG0ZI6qvqSCEkgtibm5w/xc0tu1XD1E+95EFGV1y0xJDiO gwp71TUzMHSLYRM++N8dmyfWxRSkNhVsK3Bt44w2zbwFZ6XzPfLLn2wh55yP/GfUtI RcWYFdZYvtd0gn0V4ZhlvZjIR9lcHZJTcCWfPu1A4bG7AEeP1HVTwwuczflMk0FdCL vknlJU/BvEn4CBnKQkBwgEyADWcajGRXJPtCbJeftGkbXZNJd6jVXft6x/hdyDHa97 4NsD269oesbvqTB0ca74Gs7bq3lNaomI/PBuQBJkL2GAHQLJQn085nwk0501EyW6DT rFlmt8EvHkvY4GG9tUGBVDxVvsrTu0pSCUR2sIU81IzS1g2Jo8RaN0XllP2cxLFJlp zYxTJ6Z9dD2QgZ5M71ebgsphjoUs/vmKYwf7bl44hMUj4gvoa5fH+wtksIcrRD6V0N Hxs5jbsP1kK4eDT4FHDkzDXZGStNV9agNdJO0a1I2N+AR//4j0RbUtowBpvF8as/wz nDhFox3n6MILkDYm54/v21U4= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id j1Qjc3XrGz1G; Fri, 25 Aug 2023 12:49:36 +0000 (UTC) Received: from localhost (unknown [36.170.44.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 25 Aug 2023 12:49:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id eafd3608; Fri, 25 Aug 2023 12:49:56 +0000 (UTC) Date: Fri, 25 Aug 2023 20:49:50 +0800 Message-ID: <0fffd709734d941c668f52f1f5ceb3aa368bdb34.1692967772.git.iyzsong@member.fsf.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: iyzsong@envs.net From: iyzsong--- via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.71 X-Spam-Score: -6.71 X-Migadu-Queue-Id: C7DD952003 X-TUID: fk+cYJoJMHya From: 宋文武 Fixes . * 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