From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yGNfFdAKZmWumgAAauVa8A:P1 (envelope-from ) for ; Tue, 28 Nov 2023 16:44:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yGNfFdAKZmWumgAAauVa8A (envelope-from ) for ; Tue, 28 Nov 2023 16:44:16 +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 412B027C05 for ; Tue, 28 Nov 2023 16:44:16 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LY6niKW1; 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=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=1701186256; 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=H6RWtKc0MP7ePJDYKfJzIJs21J4YHcvJtKXKhBUp478=; b=Ou9aknr/oZDeQ+Roiy0scr/ySBmPzLTQ/8ND8GMauHKqOZsssLF34fGlomf2rbacpQONRo WN9FK+2xQthWpQbWYyLVFTSZDxPZQOgOoFb+ua3Ywfn+oApdHElSNHIUD1IBW2fhq3iTt2 m+EMoGguwdmXplKeyB7aL1S72+L3d3cDw31rVXZrtI1hepZuhpWQ06Ns1pwqToU48nrwZ9 lygoBS6CeChIbvSShx54rZ1Hs0wJcPUSkPzghR5xzICuh8sDNIEP4sIWALffm59mo999E2 uxWKjuk8EfbcH9XoOJhnaNvo5Tnq86IRS/YmIhrRYF/vPhgjMIIsE30seEayMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LY6niKW1; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701186256; a=rsa-sha256; cv=none; b=tFbtnN1manmorOYu6+eT84BQ3Tl0JCmdLK7XqIqUaMDXFy12zaxJiHHMw9xgS9rmJ0T8YU dV6rrtl4t0498f/hpd4z7/aJjxm+RREoMSBua+aj/eXBYQpDlPjX4pkEsr2l0c5I8Xaq3x FoFyzFTFpWB3GWZHBr+8hPwTK3/L9mfvc0X/sMZk+AXdpUEHatyZLNtbfS05OqMQ3QZhDb idHZVkq98f3tk2lZz7YmDqV3nkDNoDLHrcoi+oZEzW+wqLS/2g3qFfMvthkdXExYZrYjec lARS/qlNk/a4QtJOGMt/pw5ZnlOsC+8O0saETG5TCqNX8StjRjg9cdE4E0ekrw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r80Fj-0003DE-Rd; Tue, 28 Nov 2023 10:43:59 -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 1r80Fi-00036p-Dc for bug-guix@gnu.org; Tue, 28 Nov 2023 10:43:58 -0500 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 1r80Fh-0006Hf-Tt for bug-guix@gnu.org; Tue, 28 Nov 2023 10:43:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r80Fo-0001ct-PQ for bug-guix@gnu.org; Tue, 28 Nov 2023 10:44:04 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67250: builtin:git-download capability detection not working for the bordeaux build farm Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 28 Nov 2023 15:44:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67250 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines Cc: 67250@debbugs.gnu.org Received: via spool by 67250-submit@debbugs.gnu.org id=B67250.17011862216173 (code B ref 67250); Tue, 28 Nov 2023 15:44:04 +0000 Received: (at 67250) by debbugs.gnu.org; 28 Nov 2023 15:43:41 +0000 Received: from localhost ([127.0.0.1]:47464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r80FR-0001bP-CP for submit@debbugs.gnu.org; Tue, 28 Nov 2023 10:43:41 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:39938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r80Ex-0001ZQ-17 for 67250@debbugs.gnu.org; Tue, 28 Nov 2023 10:43:12 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40b2a85c99bso7438035e9.0 for <67250@debbugs.gnu.org>; Tue, 28 Nov 2023 07:43:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701186178; x=1701790978; darn=debbugs.gnu.org; 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=H6RWtKc0MP7ePJDYKfJzIJs21J4YHcvJtKXKhBUp478=; b=LY6niKW1HGck2YwJDZvYlqyIRUy2O4EtzddmN8v0lHZ+0UouUphRXY08DfPGzxyAMU xyJX0qkS4ATM4vbDwdQPmPjjqFOx8kXO9PyFi++eZnRwHVO3i4Skzn96UciOhF9NwwRX o/E1L6FBBkM7y8KQovV2UmaC7/OvW/B1BYlZXQYA8fsJmuoxOodlMc1tTNTTDk5WtcYB RPnTn9jUddGd8LntUCp/1NkTM77XIQY4V5WMGLWU9GZWU+1ODpi6AGhcM5DTrlc7Z3K+ a3GVWDPyS6myO7g8PM1UyToW04jAuK9Kk5m9NCCRuBxR93Xcsju/DAxSkkhZaozqI9xQ bOdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701186178; x=1701790978; 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=H6RWtKc0MP7ePJDYKfJzIJs21J4YHcvJtKXKhBUp478=; b=w8bsfd5l5h5puo/tC4Sdu8+7zJzbPOjstDi6UNEsh9q2NIgqclB52iciLJi4Eskyv1 BLu7BoJM+eACSJfwEzWxFWFrma7aPbmRbUrfaFBNiix4kt36Pnr1bdJGQDAqV6Pa0eUs Aw4YuUCDzb1rstfH848QUiCeO4SxMeD4rkCwX5ydeWM1uPnq16Kn1j7TIwaenn7U4IVI /aCMY7K7Y99GPdNGbvB4m4ckYi5Qv77dvjvCTxrBwim45I/gy4yzmVnduSe3RthCQzmO FzK7gy6zdzKCKI1qPR0o0OEFv0G8eksweazXtbawzoYYNWnPWWwkphA9WiwWC8vq8g+5 W0fg== X-Gm-Message-State: AOJu0YyJt2E+woNPTsgHD8W2i8vsY3Vxo6Tohq2uqnypytgU5YDxGjjc ZHdNz9rGfz8iICji1+BneZgE+pX+LCI= X-Google-Smtp-Source: AGHT+IH5I6BFE9QNpSmkCyTJ/GuYUpJu4aZvApf3Rx5K7sXLXG7JYTtSY78KMRNrDcMva3xYlAQQ3g== X-Received: by 2002:a05:600c:8512:b0:405:358c:ba75 with SMTP id gw18-20020a05600c851200b00405358cba75mr10846424wmb.0.1701186178098; Tue, 28 Nov 2023 07:42:58 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id h9-20020a05600c314900b0040b32edf626sm12272330wmo.31.2023.11.28.07.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:42:57 -0800 (PST) From: Simon Tournier In-Reply-To: <87bkbmm6o1.fsf@gnu.org> References: <87pm08f41q.fsf@cbaines.net> <87bkbmm6o1.fsf@gnu.org> Date: Tue, 28 Nov 2023 15:10:41 +0100 Message-ID: <87msuy9dem.fsf@gmail.com> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 412B027C05 X-Spam-Score: -5.04 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.04 X-TUID: yVnJy7Q//9cS Hi, On Wed, 22 Nov 2023 at 11:19, Ludovic Court=C3=A8s wrote: > As in: > > (open-connection > #:assume-available-builtin-builders '("download")) Instead, why not check in =E2=80=99git-fetch=E2=80=99? Currently, the test= is done against the local daemon, right? --8<---------------cut here---------------start------------->8--- (define* (git-fetch ref hash-algo hash #:optional name #:key (system (%current-system)) guile git) "Return a fixed-output derivation that fetches REF, a object. The output is expected to have recursive hash HASH of type HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." (mlet %store-monad ((builtins (built-in-builders*))) (if (member "git-download" builtins) (git-fetch/built-in ref hash-algo hash name #:system system) (git-fetch/in-band ref hash-algo hash name #:system system #:guile guile #:git git)))) --8<---------------cut here---------------end--------------->8--- For example, why not a test as: (if (and SOMETHING (member "git-download" builtins)) And this SOMETHING could be a global variable, as %assume-builtin-builder, set to true by default and turn to false with an environment variable, as GUIX_ASSUME_BUILTIN. Cheers, simon