From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YBtDBXwHKGQtLAEASxT56A (envelope-from ) for ; Sat, 01 Apr 2023 12:29:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yOBCBXwHKGTsCgEA9RJhRA (envelope-from ) for ; Sat, 01 Apr 2023 12:29:16 +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 6567469D0 for ; Sat, 1 Apr 2023 12:29:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piYTo-0006Se-3q; Sat, 01 Apr 2023 06:29:04 -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 1piYTn-0006SW-Dr for bug-guix@gnu.org; Sat, 01 Apr 2023 06:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piYTn-0001jr-4z for bug-guix@gnu.org; Sat, 01 Apr 2023 06:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piYTm-0002B6-KE for bug-guix@gnu.org; Sat, 01 Apr 2023 06:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62589: Help with patch with delayed evaluation Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 01 Apr 2023 10:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62589 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Graves Cc: 62589@debbugs.gnu.org Received: via spool by 62589-submit@debbugs.gnu.org id=B62589.16803449298349 (code B ref 62589); Sat, 01 Apr 2023 10:29:02 +0000 Received: (at 62589) by debbugs.gnu.org; 1 Apr 2023 10:28:49 +0000 Received: from localhost ([127.0.0.1]:35582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piYTZ-0002Aa-BH for submit@debbugs.gnu.org; Sat, 01 Apr 2023 06:28:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piYTV-0002AL-VX for 62589@debbugs.gnu.org; Sat, 01 Apr 2023 06:28:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piYTP-0001Vy-33; Sat, 01 Apr 2023 06:28:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=pqZjo/ff5dOA9aVu5KEVXJXQFRNS2oHZeFqu0NiIyIs=; b=hJGxwBwJaYeFKyUh8l5W t5ke+neB9yTOT1LKRzHXYvfID8CXVJYFqVmU9QIOzeVO0SineNP7Jxzit39/euxaw3sMwZkcUW4lW dC/NM8XwRNm/qdYsA8OU7bkioeLVwH4Mt/OkGV3bO391hcd5VffuoEljIQY3rdmFbcSRsKbSLOFsc AIU21W9wPOQ4yHgXcGfp0zqpuKRyKB1Q83nLNU/jeBgq1qKBUu5w45J+36Ydv/slZO8lIwoR0lnWT CjPgdwhuFEpwmVUhYH2Rl+5M3MKDRzeagR6h/EAg6zO+df3dJykxy3hO0HHMh9I1UW9X2naMUbPj4 dpKcvW8d/UDXkw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piYTO-00014l-Fx; Sat, 01 Apr 2023 06:28:38 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87ilefgbza.fsf@ngraves.fr> <20230401100509.24723-1-ngraves@ngraves.fr> Date: Sat, 01 Apr 2023 12:28:36 +0200 In-Reply-To: <20230401100509.24723-1-ngraves@ngraves.fr> (Nicolas Graves's message of "Sat, 1 Apr 2023 12:05:09 +0200") Message-ID: <87zg7rgaln.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680344955; a=rsa-sha256; cv=none; b=i5lCLrSRuU9EQjUn+iKXVDGu03g32jh7O6H+TZNy1F/G9Sgamw0JW7gzY4LH3oS5ANlhVY X5f9OnSV+GQcaScm2WNfoceD7tMiCdTa080689UMdcEqATMqAzXMyjeAeMv0Ex43fRar7y GuH2H3VXqRXlisfoNUSX2IKU6D0fpoDag21sWygKZOpB7xnr0SAfQhfcYQ5j4OYqY+Qt/Z lTnFG61KPSwuTHO5StW5ja5LoDnWqUqeD2KSOTn6uxxgoY/idrufFQliXsf9kRhbA7fqG/ WEdMhiYRz4YOs75n5iHwzl+aMPuC6MvTsY3ZBzZY2vseL9C3dpZIDY49sbVM0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hJGxwBwJ; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680344955; h=from:from:sender:sender: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=pqZjo/ff5dOA9aVu5KEVXJXQFRNS2oHZeFqu0NiIyIs=; b=OvYiO2QEtdijuaLctumvjn8KEk6CWwI6aeuFZNt+eN+yXAnBq0OmJY46bO2M4EIK2Xqaxk zlqqbPsLDHMLsfED6EitvW3hkxlwWyIfGUFE0js35cm+181gxNTcLAMMNYF+/+r0zWeJZB oYMoiygDXDUHPtLYS9fkB7QuK6wB9JIX8akjRP9sbjRyUUoWvsAfV/6WhA0kZkxo9NNyIZ raGO9bJnwcPXXWy68GFDIgOFcOVxqAzY2wJzcbwRqrKPzCa8Dk6SqGohw3yI+6DabKOmU+ QlcWrSm14GmCWqsUJ2bsAtoOzkbCsnT2IK+dmzpuKGJ7puwvXbsSEVSc827Zwg== X-Migadu-Spam-Score: -4.13 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hJGxwBwJ; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Spam-Score: -4.13 X-Migadu-Queue-Id: 6567469D0 X-TUID: pADGjRTrZpna Hi, Nicolas Graves skribis: > +(define* (make-nerd-dictation-package > + input-tool output-tool > + #:key (nerd-dictation-package nerd-dictation)) > + "Construct a nerd-dictation package for OUTPUT-TOOL." > + (match-let* (((input-name output-name) > + (map (lambda (tool) > + (lazy > + (delay (package-name (force tool))))) > + (list input-tool output-tool)))) > + (package > + (inherit nerd-dictation-package) > + (name (string-append "nerd-dictation-" > + (if (equal? (force input-name) "sox") > + "sox-" > + "") > + (force output-name))) I don=E2=80=99t understand the details of what the patch does, but as a rul= e of thumb, make sure you only ever inherit from packages defined in the same module. Perhaps that=E2=80=99s what was going wrong? HTH, Ludo=E2=80=99.