From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KOeXEvICnF/VZQAA0tVLHw (envelope-from ) for ; Fri, 30 Oct 2020 12:11:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wAFiDvICnF9gRAAA1q6Kng (envelope-from ) for ; Fri, 30 Oct 2020 12:11:30 +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 AC9A39401BF for ; Fri, 30 Oct 2020 12:11:29 +0000 (UTC) Received: from localhost ([::1]:44682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYTFg-0004NM-G7 for larch@yhetil.org; Fri, 30 Oct 2020 08:11:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYTEt-00044J-QG for help-guix@gnu.org; Fri, 30 Oct 2020 08:10:39 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:37670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYTEq-00058f-Ar for help-guix@gnu.org; Fri, 30 Oct 2020 08:10:39 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e34c5191; Fri, 30 Oct 2020 12:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=aR313pkoANr/AHibOv4vrRw91JPEFp4QOves+OrV1aE=; b=nDK9AYzfyzja OWK8GUVHi9RdaPatYsxud1zV+jgUsz5tQSX35ibbDCHZWMzGefh+3Z8mq46he2t7 NHIg/3WgG57/fPvYQ1QZwO/YzD3gz7ehTQptrlUPVkQeIjCNAWDHhvciQC11WTXj S9AV+uVenMWlqDbWliJTg1vVAY2uqiWwE06j5lTpQFiAJhRwZlZQFr15JLts/dSS jVDV1Ztl5K5nkHKJJwZYgwGi1FJmRcqw/xSLtvNUcmfE8Y0itxe+9rSIQpz+lPsO UOH2tBCzYStBV1hxlXZJlZjF4Yrmj/sHLYoE/sBMHj7A374ovks3bgDLV0OwZ1Je v3GNJ4DCZg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 9d8c106f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 30 Oct 2020 12:10:28 +0000 (UTC) Date: Fri, 30 Oct 2020 08:10:17 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Help with .deb, .rpm and guix packaging. To: help-guix@gnu.org,Aniket Patil From: Julien Lepiller Message-ID: Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=nDK9AYzf; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: /vyBoseN2m/M Le 29 octobre 2020 12:34:58 GMT-04:00, Aniket Patil a =C3=A9crit : >Hi, >There are GNU/Linux distros which are Debian-based or fedora(Redhat) >based >etc=2E What I know to my knowledge is GNU packages are =2Etar packages wi= th >=2Edeb and =2Erpm file format, am I right? What I am wondering about how >guix >makes it happen? I mean are we bypassing the process of making the >package >in =2Edeb and =2Erpm format and releasing it, or what exactly are we doin= g? >To >my knowledge, we are building from source code as we can see in the >recipe=2E >So that means we are bypassing the process of making packages >explicitly >for the distro, aren't we? Archives of packages are useful for *sharing* an already-built package=2E = If you look at Gentoo for instance, the package manager builds everything f= rom source, so it doesn't need to handle an archive format=2E Guix is the same, but has two facets=2E First, building jocally means you = don't need an archive format such as deb or rpm, because you download the s= ources, build locally, and install directly=2E If you allow substitutes, gu= ix will download them from a build farm=2E In that case, the download requi= res some sort of archive, and we use the nar archive format (same as nix)= =2E In theory, we could use the =2Edeb or =2Erpm format to share our packages,= but they have their own specificities that don't align well with guix assu= mptions=2E The role of Guix is to be a separate package manager=2E We do not produce = =2Edeb or =2Erpm, but store paths, which are another way of managing packag= es=2E When installed on top of a foreign distro, you could say we bypass th= e system's package manager entirely=2E This allows us to be independent fro= m the distro and run in any environment, whether it's rpm-based, deb-based,= or something else=2E >Where can I learn more about this? I am going through guix manual but I >don't know which chapter to look for=2E Also, where can I learn more >about >packaging software on GNU/Linux distribution? Like =2Edeb or =2Erpm Since each distribution uses its own process, you need to look at their re= spective documentation=2E For Guix, the manual is the reference, though it might be confusing becaus= e it is quite detailled=2E If your goal is to understand the internals and = how guix installs software, I recommend reading these sections: http://guix=2Egnu=2Eorg/manual/devel/en/html_node/The-Store=2Ehtml http://guix=2Egnu=2Eorg/manual/devel/en/html_node/Derivations=2Ehtml http://guix=2Egnu=2Eorg/manual/devel/en/html_node/Substitutes=2Ehtml#Subst= itutes > >Regards, >Aniket=2E