From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WNoMEbTBcWetSwAAqHPOHw:P1 (envelope-from ) for ; Sun, 29 Dec 2024 21:40:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WNoMEbTBcWetSwAAqHPOHw (envelope-from ) for ; Sun, 29 Dec 2024 22:40:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="S9/29PCf"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735508403; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=RbRSIYIXhFH9N1ut94jL2iREljxZKpuGHDDLf2le8fo=; b=dpMtAf6vp9nv9pxDLGXh0wctblv/GdavvPjrBsrs1BoWMVHUPNhUNFVy0+/XZfyKq2lHvt RHYm12ETb9Z8TBakvI7rtj2kuL3uqQBSjZRmrUyr5XyGYmSktOGbxUniiMoY4iFf/iGyaA dR/HRnWGHGLsCheQQAJprn8uTAt0r5q0hLUXZpV3Ah7JX/IYK04AZKtAUsdbD9fde+XLf8 YM9I0u/Mk8z5rsjv8iBB64fKpNCGDxMFpsOtjZ6zsZ8KEF+Wzaqk7esbpMephteLmsfisw eiFt46un6Yjx8miKZWBq+T7aV0g655hfFn9BBk/QGDfix2IQk6N+g36WX43fTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="S9/29PCf"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735508403; a=rsa-sha256; cv=none; b=J5uH5tg09BZ5K/BXB8nXo51rStt+bytdy5aTcqSpCkwuTMwuv1ELOUAlTQgy18IhB00ysM I4RDh449+UegKOinIKd2+jGQqpu7EtHIIc8pAJEGI2VxnqDAtkNpILgO2hiIBDD5dXKrvs sH5iR64+NCWBZI4cKaXWY1UBJEHXd66k58i3qpIHR6nSfi4y0mk/ai0hWaB2JLuzxN3FQD kFTBf2+Qgoh6NZz0euzoYYboV9IlxSMYXVVYlGseq6Pf02zMMqHnpmLdxG31UYRPu2g2xc sDWGpgqBhK9wRP1xvfRbeWyE6QzNAsO6G+TTQtUztgLPFgrox5DnxLcFf1DSjg== 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 C66E766413 for ; Sun, 29 Dec 2024 22:40:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tS10j-0006hk-IV; Sun, 29 Dec 2024 16:39:45 -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 1tS10h-0006hN-Qp for guix-devel@gnu.org; Sun, 29 Dec 2024 16:39:43 -0500 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 1tS10h-0006aD-FK; Sun, 29 Dec 2024 16:39:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=RbRSIYIXhFH9N1ut94jL2iREljxZKpuGHDDLf2le8fo=; b=S9/29PCfrM5J3yaoHafd uyusKT5BlDPzH1yRYw/X7labKj2jh0whlUyypjPF1kDv2AVs3s0jPDDyiduyqpiFxsAJLK5b9Syvh c22AaF7h5m7y9RFvvuxhL4yQFrG+JPNXpCzndYilM2onECFJ6D13vTSAgTwIT+k8TTLDczTcQf1sy zOaFIA1ukWv8y3bbl127MF1B+og6SWOjBLA7dJxZEG4dNi/8SGBrKTuSsFrkHxVme4OV9JUCxByGQ gPIQaTCryeIwGpcyKDUjtIAnSwhebnd2vl0C4wzLezzKyOTi/rhPZK8lSCTjOXJaEC+ZUFbzpcqIt xFUgEvx3yrLZYQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: guix-devel@gnu.org, Efraim Flashner Subject: Re: Use and abuse of =?utf-8?Q?=E2=80=98computed-origin-method?= =?utf-8?Q?=E2=80=99=3A?= the =?utf-8?B?4oCYcnVzdC1yaW5n4oCZ?= case In-Reply-To: <87ttb5hx7l.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 15 Dec 2024 14:50:22 +0100") References: <87cyhtlwla.fsf@inria.fr> <87ttb5hx7l.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 9 =?utf-8?Q?Niv=C3=B4se?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du =?utf-8?Q?Salp=C3=AAtre?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 29 Dec 2024 22:39:41 +0100 Message-ID: <87wmfinp7m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.06 X-Spam-Score: -5.06 X-Migadu-Queue-Id: C66E766413 X-TUID: jzoQLCs7sKty Hey Efraim, Ludovic Court=C3=A8s skribis: >> + (package >> + (name "rust-ring") >> + (version "0.17.8.tar.gz") ; Hack to adjust the output name. >> + (source (origin >> (method git-fetch) >> (uri (git-reference >> (url "https://github.com/briansmith/ring") >> @@ -4147,182 +4148,185 @@ (define rust-ring-0.17-sources >> (file-name (git-file-name "rust-ring" version)) >> (sha256 >> (base32 "0rqfal81bf4l3dja98cajfjq2jbz1rcx7xdp2r33cxrm5y5p= sr28")) > > [...] > >> + (build-system trivial-build-system) >> + (arguments >> + (list >> + #:modules '((guix build utils)) >> + #:builder >> + #~(begin >> + (use-modules (guix build utils)) >> + (setenv "PATH" >> + (string-join >> + (list (assoc-ref %build-inputs "clang") ; for c= lang-format >> + (assoc-ref %build-inputs "go") >> + (assoc-ref %build-inputs "gzip") >> + (assoc-ref %build-inputs "nasm") >> + (assoc-ref %build-inputs "perl") >> + (assoc-ref %build-inputs "python-minimal") >> + (assoc-ref %build-inputs "tar")) > > You could use #+(this-package-native-input "clang"), etc. > > If it works, I=E2=80=99m all for it! Do you think you could submit a patch for it? Due to the amount of rebuilding, I suppose we=E2=80=99ll have to set up a dedicated branch. Thanks, Ludo=E2=80=99.