From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SPOVKYUytmAVNwAAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 15:13:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4DLIJIUytmA3UQAAbx9fmQ (envelope-from ) for ; Tue, 01 Jun 2021 13:13:41 +0000 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 5A8191B822 for ; Tue, 1 Jun 2021 15:13:41 +0200 (CEST) Received: from localhost ([::1]:59638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo4DE-0007CM-Eu for larch@yhetil.org; Tue, 01 Jun 2021 09:13:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnxI6-0006qh-Rk for guix-devel@gnu.org; Tue, 01 Jun 2021 01:50:15 -0400 Received: from mx1.riseup.net ([198.252.153.129]:41364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnxI4-0004eR-GG for guix-devel@gnu.org; Tue, 01 Jun 2021 01:50:14 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FvLpn5G32zDq8Y; Mon, 31 May 2021 22:50:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1622526609; bh=oqBdDn1LYAt5NVBIYCHJvlP1Us9Gs64+aiXf5Fx8TJM=; h=Subject:From:Reply-To:To:Cc:Date:In-Reply-To:References:From; b=GG+cdV0lpMJej+vsBhoB6j4dovrKEKUhSvkhv0gs3t0w3WXW61gBsKAGxZHPaVWzh xv5zco8FNTGbj3sA1y89tm9wSWlxtwWR0edCcaDZA/g+77J607yNb0DSW3sW+1g6x8 tWYtPNltlpGk8WSGJzSRzXXrJuQWNVhussFYRXm0= X-Riseup-User-ID: 2EEFF49ED69FB5700C4A0ED4D5E4F46CE47B252F750F87DF12F7EF4F1AF6BD04 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4FvLpl3tjXz1xph; Mon, 31 May 2021 22:50:06 -0700 (PDT) Message-ID: <0744d2430aa74225a6a7396a06e0d2a7bc4ccbc6.camel@riseup.net> Subject: Re: Idea: a meta language for (language) build systems - npm, Racket, Rust cargo From: Adriano Peluso To: Pjotr Prins , Konrad Hinsen Date: Tue, 01 Jun 2021 07:50:01 +0200 In-Reply-To: <20210531174748.mhaelcqwmo7degfc@thebird.nl> References: <20210530083847.o5ej63obqnzpwnbd@thebird.nl> <20210531174748.mhaelcqwmo7degfc@thebird.nl> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=randomlooser@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 01 Jun 2021 09:13:27 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: randomlooser@riseup.net Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622553221; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=HlCX9YV6wYJO99fRHX69UQIT2C6BIXz3MhcRjF3ZSUE=; b=n4BuLGvMIbB89yusgNOx8HAmZS+bSghpghoUv3OLAHynWfEW091qus+Zraxa6cJR7rMDUU HCujZVv8BJy+DvDReWMzY6+tTezxmKujcIQ3L7lDQU/8OcJU/QiaLGGZ09kfDLr6MAftiU A5ocdb99gq9hV7SFH0T3g3Qq3yMzqezBP1KPE7GT385r/DsWjjRvqmLGAVSyLh6J2kts0w erH13J60doC7Ru44HRikNt2TJaRCNIjYExwd4UAt4CPIlE1rHl98UZdp+JBaGCZVfERCdK 9ItZ/5Vc2MwnbmjuynSZHhAk3Adct3WBgQsmL9RyJZhx30lYPWq8u7qWhRYKvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622553221; a=rsa-sha256; cv=none; b=DHoP2QACRkqjotFuYxolbJ0Cm0gmXALMxvIZjBiPcCxPEOWuTttt4PLPvFmyVvt5Ic04zB gFufDSmfYH6VW2p64aRbgwA8HelBiDp8WgT/SNFd8YucjSdl8BzX5hsD4EylPMFDWF8cQg MaR8RV089vfhuTh1xkuGdBKLZOCgfAnYbJtEH9nbgp+tn3QF1z5pWd5aAsP73MxuSPkIcu M9vlsfBEKmt789Brz1W8/uTD4PP0wLVzra0mzb23knjSE9qVJ2DUNK7vBPXyofB5qjkiBc Mn0ebr+aDHQMDGwJWLPF7N1aceTBMsj2C02EokyU0gIIUfULd+mFxYrB/aGHpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=GG+cdV0l; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=GG+cdV0l; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 5A8191B822 X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: le/TfVJb888b Il giorno lun, 31/05/2021 alle 19.47 +0200, Pjotr Prins ha scritto: > On Sun, May 30, 2021 at 09:17:20PM +0200, Konrad Hinsen wrote: > > How about pushing all the other package manager towards producing > > sexp-packs, and helping them to get there? > > I have a feeling they won't be that interested ;). > > My thoughts are that every software package simply consists of files > that need to be compiled (if not interpreted) and be copied in place. > > As Guix takes care of the first and the last - the issue centers > around building. The idea is to dress down these language specific > builders, such as cargo, so you don't have all the included > complexity. > > A sexp-pack would represent the most simple build instructions to > build a package on its own. Now, of course the current guix-builders > solve that too. But, what I am proposing is to split out the actual > build step into a package definition, so as to present something > simpler to Guix. > > I found a cargo -> ninja converter. It is that kind of idea. Guix > would use ninja with rustc instead of cargo. A stripped down cargo > could potentially work too - but cargo is a complex beast. > > A simplified build step would make it easier to troubleshoot these > packages. > > See what I mean? You mean to break the chain introducing an intermediate step With intermediate step, I mean a new kind of entity with its own format I like the idea Many times, breaking long chains makes them more understandable to me It's the old idea of composability, if you want It's like refactoring a huge procedure in several smaller ones It also resembles a sort of ETL process or some sort of "data science" task of "massaging" data for some later analisys phase In a way, doing this would in itself push language communities to think about their approach (of releasing blobs) I doubt they would start such an initiative themselves, they wouldn't have begun releasing blobs in the first place