From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eK6jF1Q86GIxcwAAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 22:49:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gOOTF1Q86GLPegEA9RJhRA (envelope-from ) for ; Mon, 01 Aug 2022 22:49:24 +0200 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 19CE92D9D5 for ; Mon, 1 Aug 2022 22:49:24 +0200 (CEST) Received: from localhost ([::1]:41754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIcLr-0005Rb-0O for larch@yhetil.org; Mon, 01 Aug 2022 16:49:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIcGp-0004jc-LY for guix-devel@gnu.org; Mon, 01 Aug 2022 16:44:12 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIcGn-0007Zn-LJ for guix-devel@gnu.org; Mon, 01 Aug 2022 16:44:11 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7CFF940DDC; Mon, 1 Aug 2022 22:44:05 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sw_dPgXQkwHu; Mon, 1 Aug 2022 22:44:04 +0200 (CEST) From: =?utf-8?B?TcOhamEgVG9tw6HFoWVr?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659386644; bh=SehMGB6WRBxE57wdjoA63j/8oczkNEmsBaWPsCN2NkE=; h=From:To:Subject:In-Reply-To:References:Date; b=dlQkEmCSdF4mWgZZ9buLyJwsW6oFdi3i7N3X3kjDHJy1yC7LzPbhYVCQ9P2fkyQPM g5ZwQhtMX6L8hBFeor10nFBVoKdYNSDPzgVrTqL40QFUx4N7TNWnNnW4EtYLE7hd7U iEKIh1WWyiP3HZAsg3hyV63K8M5CQULzqL9Y+2zc/8bc7NmSuh8cYkGfWSPjRHdnpu WIObITzV1Yw6YLzD/uDCQu3lpI5s1l1jQJ/LfHAFoSRBCr1W1p4gTBTetHte+E8UkO fAcndFIlxl3Z0anR1o7kYF5FmmMzS+OdR9SlYLWB03jJOELGEuI9iyo2gjsGuGlNcC lB/91MNnmFYAw== To: mcsinyx@disroot.org, guix-devel@gnu.org Subject: Re: Strategy for Zig packages In-Reply-To: References: Date: Mon, 01 Aug 2022 22:43:58 +0200 Message-ID: <87tu6veltd.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=maya.tomasek@disroot.org; helo=knopi.disroot.org 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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 01 Aug 2022 16:49:01 -0400 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659386964; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QmdgZI5XXIM6J/RybzeYYMx7RkOqVcfhVnnhIzFiHrE=; b=M+P2QY+v2NvoA4Bb8XhxlDF+uZSvl+DnSWgMCVefoICzkrPqkwGAv8qBgpuPwpitfS/3xG GBvKvZVP1zWpXGuqvJcovf53zKK9MBrElpsYyKCf1VbPCBPFzyDca47v7VbaUyZNR6YEYt nr/SBpe1+nppxeHfBxoE3Cq7QuiO4QCTgj/IKj1TQweAMQFi7WdaG6Y2iKqXgHGuMdHKrU cYYz3rqGpcOkjRk0W3pMeiBmz+2iOMztHcz+gvrAnMHlj78X09E6cYtXlSlLQsa9r76IKq 6lDXZFZu9gVzZ3e+lv8WxGcU+xFZQ7oHtxMIB5WVS6ucSxLoYOtOpACQBYbmBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659386964; a=rsa-sha256; cv=none; b=aT3fgeDqlpeqTJWzBr3G2VwgSI0Bl3MRPU61vp74EWmYssVA81Z/WDbtORGodZnAjb2ZO2 P6WAHuNb1eOmpcJKkTJKUCcoBcCJbDXOQ0Z4aHyKiJruFA1PqdsNFhyatWT4nGEcUj9gO1 SRPZHjLXgurS95tU61edYAAEEylvE89/stxdBCIrM9VLyyYd5A8xADQVAJ4/H1lXDmmCn0 6esnqTv2MU6TVQ7FNtr7PbkU9N1YNsGYMaz40+148Cr1z5W3GNsfekIpub6b67GuV8UAXu WZXU+SPbQG5CloUGbbBivbz7gqZu7jfPYOB+IYVymLOIU5Dw7lKH+Yxqrk71pA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=dlQkEmCS; dmarc=pass (policy=quarantine) header.from=disroot.org; 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" X-Migadu-Spam-Score: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=dlQkEmCS; dmarc=pass (policy=quarantine) header.from=disroot.org; 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" X-Migadu-Queue-Id: 19CE92D9D5 X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: NRZaLWewJWYt writes: > a few options: > > 1. Wait until Zig reaches 1.0; it's too soon to decide now. > 2. Work with Zig maintainers for a standard way to install > Zig libraries as source code. It could be something like > ZIG_PKGS where package name is at $ZIG_PKGS/$name.zig, > or a file containing all the mappings. > 3. Wrap the zig command and feed it declared dependency information > while waiting for standardization. Hi, iirc zig does support the shared library model, but it by default links all objects statically. I have been thinking about zig packages recently. How could guix say this is the way to create packages for guix. My idea that came to me, would be to support guix packages inside vendor repository that could be exported as rpms/debs etc. etc. And all build actions made by the mantainers. But I understand it wouldn't be popular, locking an independent language into the guix ecosystem. More realistic (imo) is that zig should be encouraged to build dynamically linked packages, not static ones, and allow the ability (with their future package manager) for the distribution to distribute it's libraries C-style. If there's a newer version required, it should be up to the distribution mantainers to fix that. With hope, that I haven't spattered utter nonsense and with love, Maya PS. I apologize for sending you the email twice McSinyx, I forgot to add the mailing list in the copy.