From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 20:55:54 2023 Received: (at submit) by debbugs.gnu.org; 1 Sep 2023 00:55:54 +0000 Received: from localhost ([127.0.0.1]:59475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbsS2-0000qG-Jm for submit@debbugs.gnu.org; Thu, 31 Aug 2023 20:55:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbsS1-0000q1-0g for submit@debbugs.gnu.org; Thu, 31 Aug 2023 20:55:53 -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 1qbsRl-00069C-1M for bug-guix@gnu.org; Thu, 31 Aug 2023 20:55:38 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbsRh-00006I-Ma for bug-guix@gnu.org; Thu, 31 Aug 2023 20:55:36 -0400 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-76dbe263c68so64266685a.0 for ; Thu, 31 Aug 2023 17:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693529724; x=1694134524; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=hKjeyR7ppnIf7AMEKorQR9w2Wqu0wfoTxqMRCV2JK/4=; b=AOhqpNbOzSfZ63iNDN/rat0tgHLWStmiiNcR3luM8/eUjCJ/EiHuchtoOhh4quW1Lr DL2G6xFsRHqO99/vtCKv5JpQowRD13rtENqXeNeT0ls2kki4BUAQHFt6hilv5ETnya34 coZ9EjVYoSk9oUd/niaE+iyIpQ+CcdoEqRT1U3SKwwACwZbLmNey5SOZZN1GxYJfpLda bXAcbghRjOZQ9icJXCFsT6a89IhYtgl7DtyZYCmg4yOIEgUPHNdX+tKxVgWm3VmmXrkB H7XZ4iHJiZXagrMhOQUybCDpHoBvspUBqk75aXPM5t/nKj1zM/s+KuvdPPHVR7vtJjjq NXTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693529724; x=1694134524; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hKjeyR7ppnIf7AMEKorQR9w2Wqu0wfoTxqMRCV2JK/4=; b=GWHrrOqNX2nfw7ndGKsNtZ/dyivO6D5pofXNPpLDaGJqcOuEETjbLile3pzWvv0oXa cOJYV82JTgRku//N/NcqlKq0WGVXJAHfRkr7QprA1pUHOrtWeY1qIwPfF14TMQ+uw+o1 Ung9W5+01ZU+KqFV4l0df6y+dYwyXsU4hyXqdDPz0qpMJ+SG9dePDPleLK3CJq5YenTF eZKde1q3Z1ABf/DgdF1t4Qsa6SR6GHn1Q1VdaLIWRsocG+W5JJEvOFXGjWzF1byku4y7 BCUjZ6OnzrHOCybR7S3/taT6iCnHFEJ9ulJbzfZW7E5qRR6qBgEGXBP16EOAuJl92o6g OUZw== X-Gm-Message-State: AOJu0Yw33Un7LdWcLDRn9yveZ0O/fK9BEsu+CWU2jcxU1h0Enwfw52OD V86Kt5w8ZFaGyBj7ONr0vWcd35Gmszc= X-Google-Smtp-Source: AGHT+IFETjoLlieFtp9z5UaG9iQh3kYKxO+EUiMhfJkVKkhWNbiYsjaXyYw64nTSqOTSFfMNMvbv2g== X-Received: by 2002:a05:620a:3956:b0:76c:e566:2dab with SMTP id qs22-20020a05620a395600b0076ce5662dabmr1954237qkn.33.1693529724249; Thu, 31 Aug 2023 17:55:24 -0700 (PDT) Received: from hurd (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id s1-20020ae9f701000000b0076d25b11b62sm1024339qkg.38.2023.08.31.17.55.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 17:55:23 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: Using gexps for snippets is often not possible due to top-level dependency cycles Date: Thu, 31 Aug 2023 20:55:21 -0400 Message-ID: <8734zy90g6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x736.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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Guix, Our documentation mentions that snippets can be a gexp. Sadly, this is rarely possible in practice because it seems to be prone to top-level dependency cycles between the modules. The solution would be to turn the snippet field into a thunked field, and measure what is the incurred performance penalty. -- Thanks, Maxim