From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AA6kB7d1imOL2QAAbAwnHQ (envelope-from ) for ; Fri, 02 Dec 2022 23:01:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IESuBrd1imNqAAAAG6o9tA (envelope-from ) for ; Fri, 02 Dec 2022 23:01:27 +0100 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 DE64A33D67 for ; Fri, 2 Dec 2022 23:01:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1E5H-0006ex-22; Fri, 02 Dec 2022 17:00:39 -0500 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 1p1E58-0006eT-4H for guix-devel@gnu.org; Fri, 02 Dec 2022 17:00:36 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1E55-0005T1-Et; Fri, 02 Dec 2022 17:00:29 -0500 Received: by mail-wr1-x42b.google.com with SMTP id d1so9811724wrs.12; Fri, 02 Dec 2022 14:00:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=XzFLeQ7+0+2UZ9HE/bBjf4G+cyDneLArzLIHFxzjW34=; b=j55O3+DYzCEX3vaGicmScD63mla6ITxTW8GkqzzGjV0y9zE1/dVtUyUkuGSuwu5EDk CLKZniUgzpmF+BdjqkupktF+QQ6u48LK+DRLHAfJ9MjNTDLuvzG1/6t0ChYaWthPJhxD bgaUllMxDSCIpmYrhzOoDqKl/phCAZ+k6yTegLxu7erXFt4467Uz4gWR1FVXN8Dw6gXz dgm+hW0GCHstHifhOeNW/krUJVQlK97s8hEeIRO54CXaiZ7weSmTaWdiil+LC1XtUF0c yY9V7m/A4NY1+eprN2kx5StqXfSTngJjK1ViAZFasrlpFmVDIKqduBMNSqucmJf5xcRS FcDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XzFLeQ7+0+2UZ9HE/bBjf4G+cyDneLArzLIHFxzjW34=; b=walL0eddXmpBMbY8y5LHqu/mwi6UYuZQzz6Ek6z45NrNGjX46V6mhFSaTpcjc4qMzz 9Ue3cg/3yAfGYzURTk1oP7bOCiwwNJ1G4mSQkNK1EH/WDx8/pdvKVjwtQ90FOrYCpMI+ XU1eV9f0hVsLU57w/Sz7HFOqZrXagXn5bbUSpFj+46DlYg+RDNDQfldzg70bGkIu2OCv Te6a4qD4XosJp2N+7qMpjOQ4TwL0UXtG1lQliTiSHNLC7dGf0AYgjICJ0OzArCwta/h/ qFsEeSjhcwYMJ3MGwmqmzP3GZfJ3CVQl2AdqgzOkKLoAw8wbs52uNYIb+9gTI8+aN03n vMsg== X-Gm-Message-State: ANoB5pluWFD+VbdlHvoSpW9Kppy+eT9q5BSTHF9li200gwjNixWyJz4w 15CYXjEZL5M0oBvGdAQ3zDxxJcjBwvE= X-Google-Smtp-Source: AA0mqf7QJfHME4gvq2QijnNc+IPEpDqG+sONlZht6l4GrV0M4m4TOqVWsjdFKBFH4cVsOQaAvWcH8A== X-Received: by 2002:a5d:4f91:0:b0:242:1847:c798 with SMTP id d17-20020a5d4f91000000b002421847c798mr15976703wru.237.1670018421885; Fri, 02 Dec 2022 14:00:21 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id t17-20020a05600c199100b003c7087f6c9asm14366532wmq.32.2022.12.02.14.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 14:00:21 -0800 (PST) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: "(" , Guix Devel Subject: Re: Help with G-expression In-Reply-To: <871qphqyrz.fsf@gnu.org> References: <86359zm3iv.fsf@gmail.com> <86v8mvklcd.fsf@gmail.com> <87sfhyuq7t.fsf@gnu.org> <87cz92rli9.fsf@gmail.com> <871qphqyrz.fsf@gnu.org> Date: Fri, 02 Dec 2022 23:00:16 +0100 Message-ID: <86a645cvpr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670018486; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XzFLeQ7+0+2UZ9HE/bBjf4G+cyDneLArzLIHFxzjW34=; b=aIuunTxPYJJuwcy1SFi3RoZDZ4iCKifZOwaNxf3zvo58ObAbNoNq1k0eVniKtTsP5u/+Bu qCavlq8DJc+x1mcM5dWcAKirc2fZFOF4jqzVMz7Ojnhsv00UjDCPMCajs30Kl5ttbu7o7Z ByFnS+baQJtmnmkQW9x2AWjiF2kGzaRAgyRzv/UTlG8NTvUbLpexYDQnLmXFFzBMvbs4QM 1ye/gXldq0wQf1aTejVArGFl94tpQGO1XYl53G1q9HGf6bDnkY2o6fgnUm+fYqNwcmtw4I pHw8pa1OuhYdzLzjbUkMuk4Y0nQYdNwy6U4f0gdlhCj6tbzOjYC5cBfhss9rBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670018486; a=rsa-sha256; cv=none; b=k9B0tPYED6QCr2yLrKB8B1x2k0+DYfJ+csgLsqKDlqDHGobFUltb5HhpmY/OZ+PwEU9Tea BLfeSaf9UW+oVCfAlVUwTn1797OvjxIbQqYZXclVnjD7xZU+bjhf8cyo7mqa7JReH23N7b YEFvNWqR1/ofYPrwj887z1WZzRcb3JKo70Svn9tzLtHsqrx2jV7KlpBcJ5wBhNQSqCJVk4 LViCVzkGEpLQ6AE8XnPI/obWB8jxai0wMN8nWiIwzsy3WBFU3bjBbBXwca1w8Tycsjp320 PcHzhYL8ewIF+S6iFgbcdk4DpLNeBExFhsl7NiQyufiCsnhTnSCqor5jm4ZfHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=j55O3+DY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.47 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=j55O3+DY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DE64A33D67 X-Spam-Score: -2.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6vaE3CW075dK Hi Ludo, Thanks for your patience. :-) On Fri, 02 Dec 2022 at 22:30, Ludovic Court=C3=A8s wrote: > Oops, that one is a new bug due to > 54003af85cc5b689bd328b30617c93ed2f5fd647. I=E2=80=99ll look into it. Ah, a good news. :-) >> Below the log file =E2=80=93 missing (gcrypt hash). > > So (with-extensions (list guile-gcrypt) =E2=80=A6), as in =E2=80=98video-= ges-project=E2=80=99 in > =E2=80=98render-videos.scm=E2=80=99=C2=B9. > > In essence, the gexp you want to run must specify all the Guile modules > and extensions it depends on; this is what =E2=80=98with-imported-modules= =E2=80=99 and > =E2=80=98with-extensions=E2=80=99 let you express. Not here. What I running is this: --8<---------------cut here---------------start------------->8--- (with-imported-modules '((guix build utils)) ;import it (computed-file "empty-tree" #~(begin ;; Put it in scope. (use-modules (guix build utils)) ;; Happily use its 'mkdir-p' procedure. (mkdir-p (string-append #$output "/a/b/c"))))) --8<---------------cut here---------------end--------------->8--- And it perfectly works. :-) As explained in the very first email in this thread. The issue is when I am adding (guix profiles) and nothing more to the previous perfectly working =E2=80=99computed-file=E2=80=99. How can I gues= s that this module (guix profiles) requires (gcrypt hash) as extension? Just to be loaded since it is not used. Sorry I am missing the obvious. Cheers, simon