From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 qAZ9BkE34GIMbwAAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 20:49:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6PFhBUE34GLHYQEAG6o9tA (envelope-from ) for ; Tue, 26 Jul 2022 20:49:37 +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 CBFC62AAFA for ; Tue, 26 Jul 2022 20:49:36 +0200 (CEST) Received: from localhost ([::1]:39712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGPce-0000B2-1i for larch@yhetil.org; Tue, 26 Jul 2022 14:49:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGPbS-000090-6F for guix-devel@gnu.org; Tue, 26 Jul 2022 14:48:22 -0400 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]:43557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGPbQ-0005Ld-Hl for guix-devel@gnu.org; Tue, 26 Jul 2022 14:48:21 -0400 Received: by mail-ed1-x542.google.com with SMTP id z18so6422171edb.10 for ; Tue, 26 Jul 2022 11:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=KMDZdRrmyg8guNM0ryo3ePTcFAOjuMxR9u1EZZUDn5E=; b=cee1wPeGoD25AReG0in6IGg+Eo227zh9cMGjwuemKVq5DJDUoSJiK4LMFGGegoIGcP Gjic4a9lBD8CU/1jY/Nch7qd6Ymk4f8Y8WRUVA7w6Y4mngace0GNo9sVsHW1dLS5/7ct SlvSfysmpRQzn6G2p2ym+eGWyS08rfilOiXf7s7JSyzAvgfgprBU96+qPschD7Cg8+hA e0ouaSluH7bJD1dussXi3V0a+xxAb8HtyQUWWfsimmGJgjLqyXNkkjbVcd2nR3M58Umz cSkHN/S4fPu8ZMlQo3Rdj4qa54zgrhx3XfrrAa37x8JuHkqKf0EazDn6DP2AcHpwzhny FESg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=KMDZdRrmyg8guNM0ryo3ePTcFAOjuMxR9u1EZZUDn5E=; b=j6G54tQm33aXQMUHNVlIg9i5dni2h88hKjLACxo6VwQjSfl164+/ktS2BMMhv/mKgc 69/QW2zrhYFZIPfCmTusegy8nGNbQy1/Mx6oRZB7oKSREYcPAR5LtpErbdRqJ0EyFcfy iCjO2hH6nGhNyCSN7E9HDIKzltTJ3TldAs8pkrhhKJ16kEF99pK7u/l8vNQ0A+rif8qC /2V5BbIZsAx1k6ijAXknM1u8l7RECuqW4201fHNIncI40Q3LS2SutDIoZwATRc8wrqeh Dpj1g1xnMZM4kp4xPQkWzd7E399wQs9dHaAJ0XXgotg3tyYZQLpXrZHOkG7PANLaMwfl x1gA== X-Gm-Message-State: AJIora84HObU/F0FT+HNfUCSSl/ByQo8r7ns9lvYhm2DqObPGKef2c+h VPZAHq1lNWtV1k2ruX/81oo= X-Google-Smtp-Source: AGRyM1skbxHkE7TvS3fZ/X+Gi22Y/up6l1FFnPPePLXW55svyeGQwRxyWqPFIYNiJ3MTLfZQJSVAaQ== X-Received: by 2002:a05:6402:2b8f:b0:43a:66d4:a025 with SMTP id fj15-20020a0564022b8f00b0043a66d4a025mr19480409edb.121.1658861298399; Tue, 26 Jul 2022 11:48:18 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id ck15-20020a0564021c0f00b0043adc6552d6sm8836939edb.20.2022.07.26.11.48.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 11:48:17 -0700 (PDT) Message-ID: Subject: Re: Strategy for Zig packages From: Liliana Marie Prikler To: mcsinyx@disroot.org, guix-devel@gnu.org Date: Tue, 26 Jul 2022 20:48:16 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::542; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x542.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-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=1658861376; 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=KMDZdRrmyg8guNM0ryo3ePTcFAOjuMxR9u1EZZUDn5E=; b=r1tVVoHv0RIdQnit5AuUR7FElkuStgNeNwEQe2sMlrCtt9a1pR87xSuHkx3n9631cfBpxs 7OIDz3alf7UfKZQlMjO3eqLC5eiTrG0xrJIE5fUyb9hI9dyw9FCWKlOAFxr7sCJ0yrvkKe aFDsdFSVpyB1E6QmygY3D+mlttSZtsHF5VzF7tWrxTDa4rWA9K7ImHMqVFGG3u+dNVchvo 9VIbnhgt10Va+cF7GbmSqYg+CM7bIgE3IbVxSUTHCJPZNE3iikQrvZ4ynqdim7keelVC4Y UAVoT41VwLd0tl290BR/YcxMNRi40KOPgfARBWF8n8OTYeQWFFp4wjHePzhRIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658861376; a=rsa-sha256; cv=none; b=MVzNy47jtaCUt4mP17GBLflxzLmQmWRH3K70PtZHmvkJrtWv57OjQlSSqq2YnaekbLFJzH +7h0CdIUDPXdsYzQ1U8UYb7syVUHlhhBKJTl3HwSHSJuc2+LrNPYRIKO0vTKrmnqneqj4P egJLoPjsC/Knk8sirOxYYgs05MCuf876tiFyln2wI0HSjdoCn7TFYVt2WVQlYkTz9lOCgz 7+EiEScxF/uNOYDRjt1rhFck94w7C1fMRzPmrPbUug3Tyc8Cd/cuL+tuIBkTvlhU+O8Nnf lV88HUYuLBU6ERFKodIrY3LTuQTtYHw2ko2svgHD1kr/3RlYyM/kmaXumPK6VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cee1wPeG; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cee1wPeG; dmarc=pass (policy=none) header.from=gmail.com; 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: CBFC62AAFA X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0tTjwm7+wfWo Am Dienstag, dem 26.07.2022 um 19:56 +0900 schrieb mcsinyx@disroot.org: > In case this has not been discussed before, what shall be the plan > for interdependent Zig packages in Guix?  On top of my head there are > 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. 4. Convince Zig maintainers to perhaps maybe not join the ranks of Rust et al. and produce reusable shared libraries?   I don't think there's a good case to make for reuse via source code archives (as the only possible way to reuse). Technically, there's a similar construct in C++ called header-only library, but if you need more than one header to implement one, I'd highly question your design choices. Cheers