From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iDowK1CMcmcW4gAAqHPOHw:P1 (envelope-from ) for ; Mon, 30 Dec 2024 12:04:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iDowK1CMcmcW4gAAqHPOHw (envelope-from ) for ; Mon, 30 Dec 2024 13:04:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VBWm874w; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735560271; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7ca9t3Sf6a97LqsYEWNHUdurjuzaXRhKF/AnySfryEc=; b=YxTtPhnBVPgNF7EqveXW832quVt75ZQYktbPbaFUUXjq+yO7kmTaS65DVJKCCyo4f0SHfr JbSL5A2l6Mr/YQmU6LaYjwzzuFUQ8Mriwpq2mRRyXbpjRNbldFCLOhWrBXVSo73duqa10J 1JuGcZmvsjYqWuWxhL/G+kun853a1yi+KXSw2FeYdjJIGbSADE2l9n+GH89BNQgD936k7s 4LqKHIyYqbp6h7/mN55QhI+gjNWqOsnFWfEmvypPndVFhYX7lUXWHxcjNB9k50Kw3K9jr1 I3IJAf67wVexI1HM29mm+XnS9mTOimJs/ySSeDNpx8ARULcvP9mlH0eM5ZbMGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VBWm874w; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735560271; a=rsa-sha256; cv=none; b=Mv82R2mWQDlsnFjcrdGQVhRKGl76uRWGeJl58DJdZHK5iWUWwpg2cz3SzQUFhlCEVO72i9 6/ppCsyu5uzkLW7Z9mtuSdaJez49IxS4UANz1H4AaLdFOvoAuGKJNmUNveuA2kZZmzlfKI ASae3yiYfxWurd7BAycfesBU7W7OeMQkv0/eUwdUPa2pjmQvmhdgwrt+dDTunZv0ZvcIF5 EjT0ZhcSbehivbOlwNkepls+AM5lrF8IWRgJRpXfuCBHPfejSfIyu9yBQmG3FaZ92931gR xODAYGqiTc/iK2wJa2rYxna09E6iicpvhabuVYTlLV/iZJS9jeH8wYsrIHCXKg== 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 6A4E99E300 for ; Mon, 30 Dec 2024 13:04:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSEUn-0003Fw-1C; Mon, 30 Dec 2024 07:03:41 -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 1tSEUk-0003Fn-IR for guix-devel@gnu.org; Mon, 30 Dec 2024 07:03:38 -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 1tSEUi-0001uq-IE; Mon, 30 Dec 2024 07:03:38 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-385e1fcb0e1so4892355f8f.2; Mon, 30 Dec 2024 04:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735560214; x=1736165014; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=7ca9t3Sf6a97LqsYEWNHUdurjuzaXRhKF/AnySfryEc=; b=VBWm874wmHYoOBPBLqzxqYhOe8kjwP+c6dudyrtDBvZTbjJR1HRnh0fS0Kj84caeXe vSclcxOKp9zRUhOdVe7+UwBukavXsnkvpZ4B1rymF44boIs3ytghdjPfdOhs1xuaICIW 9KukHGPRY5fqI5T3jHj2nlfia2pbr4isyD0vhK77yMKALwfQ+XZLZDFg8nOWPA4RpWmY KG8kkkBW/nJRKsc2pAPdoUpPJVyJwDleXSOdLvoWaOgzQ9dmK9P3L0AKkFbWRdKWN9hD lbP56dyMR0k8ncHafMasTy5M0UXdxsKYutjwDu0gdHUlDpDXYmJPOwJ3zpslQ8X5WBAT /LgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735560214; x=1736165014; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7ca9t3Sf6a97LqsYEWNHUdurjuzaXRhKF/AnySfryEc=; b=AMi6k6FLU9V5XdWAv0twdi3Icw1sFHTS4BqkYjgmN9znv5krzbH/NlQK64qQiSuNQ+ e4LlsilO2bVjfspCsUxIub0zjUQzrKb2YfbwcBTV3KF97wHc6dIFndbHwhAN27SKj/jd k9Z6dTim9nB44cmLTprIzCsZG2To0kDC/mnKgZsX1Zrm6IajISY5KQSb08/qSFOhkiEd jHfwxAaV7MqCGci0kQfp3XLjUkAXL/vULui4aV6hJnFPJsUYE1/lp16UV4bEjuTu9Kki 7MAJdo9c07EQDn0Q9DFvkUFn18Ma+aTgbFwTIu8TTccUgC46ymCXHc2Xm02ZhlLzPzyd 1fkA== X-Gm-Message-State: AOJu0YzhEodw6mhgiLeFZOvQDP/vzBQv1o7rt4bDNJcp1GCNrJnIH5Sl qZO1EU/M5NH5cZFVZN+K67x26sYzuKQ0m3QU+FrKaQciuTwrNuH/S680RvRK X-Gm-Gg: ASbGncvSbzhowlFSp1SrYLrUY7eINzz17vJnzOVlhooI5VWramwPK7XaNJItlO/MvXM Gzw53C6+Q8HZvYSehvL31v75T6hA2jcjFSc8SjfWb+oZ/jy5bJJMcQaAXnd5IDeLbOmZav+AvET N4eZ0CeULwY/nUtxPQ0nTNGxN50Eh/93Kpjb8W/66gYnMvV2443ci98I8cQnoYlI106lkbu8POk 7gVOp08FiQo1GSVTzOqRFPLEUe7hzOYwVkFCtgT1bL4+KwoUYrTgswq X-Google-Smtp-Source: AGHT+IFI1SwZ27qBbPg3WvtWa+OPRp0Z3ZUfZ53EJfqD28yKmTZGnellqaVaBh6amnubBCrsJfzPOA== X-Received: by 2002:a05:6000:1fa9:b0:385:f38e:c0c3 with SMTP id ffacd0b85a97d-38a221f1391mr26460932f8f.6.1735560213369; Mon, 30 Dec 2024 04:03:33 -0800 (PST) Received: from localhost ([141.226.10.168]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a457584bcsm12403856f8f.89.2024.12.30.04.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2024 04:03:32 -0800 (PST) Date: Mon, 30 Dec 2024 14:03:26 +0200 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Subject: Re: Use and abuse of =?utf-8?B?4oCYY29t?= =?utf-8?Q?puted-origin-method=E2=80=99=3A_the_=E2=80=98rust-ring?= =?utf-8?B?4oCZ?= case Message-ID: Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel@gnu.org References: <87cyhtlwla.fsf@inria.fr> <87ttb5hx7l.fsf@gnu.org> <87wmfinp7m.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Kb4NdyKcrzilqiDR" Content-Disposition: inline In-Reply-To: <87wmfinp7m.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.227, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.80 X-Spam-Score: -3.80 X-Migadu-Queue-Id: 6A4E99E300 X-Migadu-Scanner: mx10.migadu.com X-TUID: Nr2qBwmFSslE --Kb4NdyKcrzilqiDR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 29, 2024 at 10:39:41PM +0100, Ludovic Court=C3=A8s wrote: > Hey Efraim, >=20 > Ludovic Court=C3=A8s skribis: >=20 > >> + (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 "0rqfal81bf4l3dja98cajfjq2jbz1rcx7xdp2r33cxrm5y= 5psr28")) > > > > [...] > > > >> + (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= clang-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! >=20 > 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. I ended up making the changes and pushing them to the rust-team branch. Rust-team is right after mesa-updates, so we should be landing it soon=E2= =84=A2 =C2=B9 https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Drust-team&id= =3D39c1a5f48e9f7a175be7b3c22a76d3ec2d9fc840 https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Drust-team&id=3Dd2557= 43544c95e17c0868743b99169f31e5b9164 https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Drust-team&id=3D3d03c= a61c62ec29ee93d1b23f9a6c6bca2f240dc https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Drust-team&id=3D2b75e= fcb306ccecfa3dc5b2d16b7dd57f9f57768 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Kb4NdyKcrzilqiDR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmdyjAoACgkQQarn3Mo9 g1HD+w//eOtyCUlBsntVg7Bx2oIEpMpylkHqHBfyDeLbQJ34tKoDFaG6EBhqIHCc X4CU3w1TJmAzow2QzDzAe59Ji34+q/kx1R2aq/0BhSI1ImzzBnaQob1oMy7Ho/yN xIpQkLWPfkKKaErpeXI/OcFSIOynGuqs9NMWSx5N0Ng+rTFIPkngI1N64cARoJnJ T0JjYwiFyAAcR6wbbmyMd1EB6bZIGQwyjxc2JhLtXxwGAEqsHd2++Gqv9hczIHS0 zFHUc5cduNPpsj6VJSFAnmeiJlGvd4IQ6KGVzC6X/di/+xGg0+InoQS+1LlyRazA PqyqYBxw05EOnu4UM8NAjMnnYZ/FNEOGfmECHfxy6rj7K1SU/bqrxa6CGa3EZupa 7cbjMi4pWQetjBfxxxtixx1tzM1MFmXeEEh3hpFo9l/nsKHUKYC/Yp3yOxxNT2vF 2xSkf+URGmKa8m4oQEl55Qbc7smtJHvYhwg5iyL852NHOTeEm+9fbStAohj6aACo ttbTSpIqXhMaoMej/T6tck6XidvjUtaeP7B2geKVJf/Xl9g+JNiwVdl/+mnL7Xag HXNaLCmsJDjYlFFmSoJfyBHAt+t5T9xJeLW7kR6iTLYYg0xKJRGk7o37tjC1RFds uNOxLrGjyo0LcG//3AkCHsefQzmXOweS36sHpuDl+BWE4+BgBYY= =Ztqv -----END PGP SIGNATURE----- --Kb4NdyKcrzilqiDR--