From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OJhACEu1+GT0bwAAG6o9tA:P1 (envelope-from ) for ; Wed, 06 Sep 2023 19:22:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OJhACEu1+GT0bwAAG6o9tA (envelope-from ) for ; Wed, 06 Sep 2023 19:22:19 +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 BDFF446039 for ; Wed, 6 Sep 2023 19:22:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=mpjACqeI; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694020939; 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: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=CVRRqMKCbTvnDuqKY5pV2rVBl3FVwuhgsbuLV9siHHI=; b=kGMZHjgMYQWCYFqAzs60yVThEcWMwf598VzG4HXJIkAlKoj6aZtwa/2HhgSOMjuaoBMUTT BKaoebUU9Dn/nNqAkugIvo8mRGWhcacJL1fdXsSQ8unk6Anh2EBmN4M8fSKZ2XxFNLgJo5 o1r0FN9jVjocx6rw3C608akbr/hCZXPgGo7hak10OhqVua4tn47jkABVBs/GCsUDZ78mAD JAQeZ783GEErQBFK0QxEj0+B6EOAhMupaADjFZf8hTWiKcWw6NGzbw83WuEFfZHsquXVc7 lt0K5JKHXbzRLEnHLeQyw0jgevB2JH5re94Kpk6HDzo79fv2HQdKoLfuaBJycg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694020939; a=rsa-sha256; cv=none; b=che9jfD8UhA69wk6T7T2wfkINfeDKf6wmNibk1XzaXy1oahOGGVIYHrVRXKCKc5AP1qFiX 0DFRW0XhT1Vt78QUZ0DGiJ/38e87F+eY5LxargLjPbXg7vZwkY7TpY+7J4XWtQMdTWxrpN 3xSwZtISCPkor+PGBL+jvJ8QTfXSnsjLzUWZISKT+SixqaydK7rxZXoUjgt9nPcEafoZix zeRxDUr8HLWXho3ZmruAureQaF8aQa6WEPs+AUleIyHvzQNWr6v9Hv3QIy1qvt4/mFtmAo zc8KOjX4kOSFhIZQQJEQDGV45JkpYVHLnUE24n+cFeKTLAKz+dWqaO+Lh3S74Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=mpjACqeI; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdwE6-0005Ru-LT; Wed, 06 Sep 2023 13:22:02 -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 1qdwE4-0005Ri-Ph for guix-patches@gnu.org; Wed, 06 Sep 2023 13:22:00 -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 1qdwE4-00044V-Hf for guix-patches@gnu.org; Wed, 06 Sep 2023 13:22:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdwE5-000857-Jv for guix-patches@gnu.org; Wed, 06 Sep 2023 13:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65313] [PATCH 0/1] gnu: Add erlang-lfe. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Sep 2023 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65313 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tim Johann Cc: 65313@debbugs.gnu.org Received: via spool by 65313-submit@debbugs.gnu.org id=B65313.169402089631033 (code B ref 65313); Wed, 06 Sep 2023 17:22:01 +0000 Received: (at 65313) by debbugs.gnu.org; 6 Sep 2023 17:21:36 +0000 Received: from localhost ([127.0.0.1]:37484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdwDf-00084T-Vd for submit@debbugs.gnu.org; Wed, 06 Sep 2023 13:21:36 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:45353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdwDc-00084C-Dn for 65313@debbugs.gnu.org; Wed, 06 Sep 2023 13:21:35 -0400 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-76e09202322so4522585a.3 for <65313@debbugs.gnu.org>; Wed, 06 Sep 2023 10:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694020885; x=1694625685; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CVRRqMKCbTvnDuqKY5pV2rVBl3FVwuhgsbuLV9siHHI=; b=mpjACqeIgzG2nW8jXfu5lSYRoPMRCrBCEZjrjF/0nIdOrj6XcJ2ywvW8+UhTutj2yH Bvkh6O6nWuQavIjOSt9Dlz87AFdW+EDdDGMhP7A6JI2Y0l+rWE7fZPSulsZYtG6ev3tZ mqj2wQ9WaY97xo5lni1qeJmfy54gog81F/V3C/nDGo565l4WrdM3k6DetUDLbGEDMLAh YLFGEhQzqpTYbS9cM28WjMxVpUuLDLuXm9hGLvgQA5bnG912JoZ/purYcioS61bxcjF8 4gLe07sAlcBHxYsx1QUOMT7wdFFarqTLaXsv4YY8wU1JDsgp1ZdCZjEaQ4N7P5UL4OcM gxrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694020885; x=1694625685; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CVRRqMKCbTvnDuqKY5pV2rVBl3FVwuhgsbuLV9siHHI=; b=FK0TDXx1a+IUlKL3PWJlwZWqriK7vp7vT8BIt523xmGzcCnlAFiI86ABIH9j5TWWmp 7Lw+eft6gRwJl8sweZ8rXaWjbFF0eBhd76bkHr8GdatCjWQpGPk13sdLKGKPhHraJpVD OziUDECF/4D7fmLs5UsnzS+EU9RU6uyXuNCOiZgakic3gzNGm3m9+0rONMjhRbriWN4r PHk7haVA+G/c2LLlLkJv4pMdZ6uT2Hy1P2uQZlsfFO09A5INfPiA+KrsRGemzBLzCF9X VAP+llk+eVBfJZ4kGZcAneJHZA/4pA9Ejiy4KKWmaas5fpkW05GJxY6kI7JFCCFBg3kY yQCg== X-Gm-Message-State: AOJu0YwuOKJG4BNd519VMuZKRfBtOqzojk5gAafzLQxYiml0Em7ehmmj NIkCZ4d8pfUaB0sHbGRqqiX2G+I9zrIJVA== X-Google-Smtp-Source: AGHT+IHYc12ZQCN/QxnrT8FE6vS8/Njhae3DXwgLYsEtk04gucihAndgOZml39qxJz0GVMo1N9HJqA== X-Received: by 2002:a0c:f003:0:b0:651:9fa8:9fd9 with SMTP id z3-20020a0cf003000000b006519fa89fd9mr18502393qvk.51.1694020885378; Wed, 06 Sep 2023 10:21:25 -0700 (PDT) Received: from hurd (dsl-153-125.b2b2c.ca. [66.158.153.125]) by smtp.gmail.com with ESMTPSA id j15-20020a0cc34f000000b00655935bca82sm1428521qvi.134.2023.09.06.10.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 10:21:24 -0700 (PDT) From: Maxim Cournoyer References: <874jk8lot5.fsf_-_@gmail.com> <87tts7i633.fsf@phrogstar.de> Date: Wed, 06 Sep 2023 13:21:23 -0400 In-Reply-To: <87tts7i633.fsf@phrogstar.de> (Tim Johann's message of "Wed, 06 Sep 2023 17:53:42 +0200") Message-ID: <875y4n5ib0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.13 X-Spam-Score: -5.13 X-Migadu-Queue-Id: BDFF446039 X-TUID: b0LjY47TbTqj Hi Tim, Tim Johann writes: > Hi Maxim, > > Thanks for the review. I learned a lot. Happy to read it! > Is there more documentation on the #:modules specification? I would > like to know if there is a variable containing the modules added to > the builder file when not specifying #:modules in the arguments? Or > do I need to repeat them there, as I have done so far: > #:modules '((ice-9 ftw) > (srfi srfi-26) > (guix build gnu-build-system) > (guix build utils)) > > The (guix build _) modules are the ones that are present when I don't > use the #:modules argument. ftw is for 'scandir' and srfi-26 - as you > suggested - for 'cut' Your approach is the correct one. You have to look at the guix/build/*.scm files to see what are their default #:modules, and combine that value with the ones you want to add. For #:imported-modules (which is for external scheme modules to be made available in the environment), there are sometimes public variables that can be used. To make it more convenient, an improvement could be to either export public variables for the base modules for each build system, or we could go even farther and change the #:modules semantic so that it'd extend rather than override what the build systems uses by default. I hope that helps, -- Thanks, Maxim