From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KOyxEdiFwGMSHQEAbAwnHQ (envelope-from ) for ; Thu, 12 Jan 2023 23:12:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QL64EdiFwGPuRQAA9RJhRA (envelope-from ) for ; Thu, 12 Jan 2023 23:12:40 +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 209212A9E8 for ; Thu, 12 Jan 2023 23:12:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pG5nm-0003G3-4n; Thu, 12 Jan 2023 17:12:02 -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 1pG5ni-0003FJ-Ih for guix-devel@gnu.org; Thu, 12 Jan 2023 17:11:58 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pG5nd-0004R6-3K for guix-devel@gnu.org; Thu, 12 Jan 2023 17:11:57 -0500 Date: Thu, 12 Jan 2023 22:11:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail3; t=1673561509; x=1673820709; bh=cpPo+urHb6cJ9XmI6oRP4zeZv9IiU7hiWhKCLX7J05g=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=h51/Px/bOEUidn3BXt7SujXWeJFrSwlvmuAtke8C8n/l5+ycWCxOZd1bXOAfjQR37 opoMEq7kYFJ1HSXcDSdY4ocxyuHpr+E0CfWOFzCCR96zn0wCop6kGjoSqT+KQuF6S8 5UksioiEs5L4aEhxr7rGkMNQcn/BoDLrA9mMvD6selCVjGnoYObKbQLSrRrwJkTGY7 Y8SORkbKcDeIfgsfplJ58evEaam9wFXE+gmTzbDD3V+Q0bRacJZZSKgRZBcPeeem2w nE3ZF1hpf7164pgpfX9+Ofo5pBAfBzk7FEJBord55bUqMCNb7+54OY/fnglpUwDEkO oVnPggu4m8OAg== To: Ekaitz Zarraga From: Ekaitz Zarraga Cc: Efraim Flashner , "guix-devel\\\\\\\\@gnu.org" Subject: Re: WIP: zig-build-system Message-ID: In-Reply-To: <8LvJ97sbVMdQU87Ucepn5g_9fjgv0ochK3sTaoamrdwWT3TiFmX425mypnueXIfZI67ej5c4ar98yk_1O0sGJ_7CTSBwDgrgjcROBvV5nbA=@elenq.tech> References: <8LvJ97sbVMdQU87Ucepn5g_9fjgv0ochK3sTaoamrdwWT3TiFmX425mypnueXIfZI67ej5c4ar98yk_1O0sGJ_7CTSBwDgrgjcROBvV5nbA=@elenq.tech> Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_3U4P6YhpDuVwmD7ZbTI4iz2e5OMCuSAZ0OMcWxxGU" Received-SPF: pass client-ip=185.70.40.136; envelope-from=ekaitz@elenq.tech; helo=mail-40136.proton.ch 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail3 header.b="h51/Px/b"; 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=elenq.tech ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673561560; a=rsa-sha256; cv=none; b=mcP/x0XsBMzQZpOsHx4hSsKma4jCEv/sB1q3thTAbu5TwIaFdD9aMgUPy4JRA5cocbmOzG K2TU9EiJKCsWUFwzXMYk92qCwnfWaTyf8lup9xZphg7ZEF/vF1XvP59UIXH/N14Q5xDLBz sMClCvn0Rs1suWSAiyvbhELmgGFNb1tQotzyzyiYMDSnDjqqIEq5rKhPkRwr2DqAj/se3k L4qDjbsnLXP+MIzvQHVSE3se+0/QcYTyX7XgRdOCHl30Qg3Os1PNv1nbUcTFs+5Ubwl0qo 2NLwTAYBqCqmMTuC4nPiCY+UNO41FXGHvBU2E4p9Eex4d3YbA0wztv3F2kkCWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673561560; 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=cpPo+urHb6cJ9XmI6oRP4zeZv9IiU7hiWhKCLX7J05g=; b=PIt/ZOtPcXBhM3WHzocq4niZeG0LobDC3nfkeEypOJ1mah/hSaUu5OA/m6786XavYSLKL4 xg/QMJ+Boge1i5BMCvuVAnG2/Rt4VPWVZ1jgkKCsxujxtc4sBf5TdZCuOBPlcg3XL6sQOM o6QpJtkKNquEG5zmVuhTVSTZTtqTNmp/V1doS4d7fjtTxVUvgMvq4aBZ+NRJkOuaxBTMaC jkkmmea1uRSJiBCGGlyWA/rB8Ox3GsjF1aO9F+DLCssniNQEMiUlTsAG03/CEJDVaw9d66 mOcQJaG1NfibOg4VLmSaChKMfGIY+FPoDgX/LjdptRBSw7ma869fwntmL+c8EA== X-Migadu-Queue-Id: 209212A9E8 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail3 header.b="h51/Px/b"; 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=elenq.tech X-Migadu-Spam-Score: -6.91 X-Spam-Score: -6.91 X-TUID: zDmACFkmg2Cu This is a multi-part message in MIME format. --b1_3U4P6YhpDuVwmD7ZbTI4iz2e5OMCuSAZ0OMcWxxGU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > Hi >=20 > I think I have something working! >=20 > It's not intended to be production-ready code but it should be near to th= at. >=20 > There are two files attached: the build system and a package to show how = to use it more or less. >=20 > Please take a look and tell me what you think. Let's see if we can merge = this someday. >=20 > Best, > Ekaitz Let me add the docs too --b1_3U4P6YhpDuVwmD7ZbTI4iz2e5OMCuSAZ0OMcWxxGU Content-Type: text/x-patch; name=0003-Add-zig-build-system-documentation.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0003-Add-zig-build-system-documentation.patch RnJvbSBlNTAyOTAyOGQ2Y2Y2YzdiOWQ2MTA4MWQ5NWYwOWUyZDczNTY0OGJhIE1vb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