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 ms9.migadu.com with LMTPS id yCMjBUDGMGQgFAAASxT56A (envelope-from ) for ; Sat, 08 Apr 2023 03:41:20 +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 2G4dBUDGMGSBKgEA9RJhRA (envelope-from ) for ; Sat, 08 Apr 2023 03:41:20 +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 A99C28754 for ; Sat, 8 Apr 2023 03:41:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkwmY-000329-W3; Fri, 07 Apr 2023 20:50:19 -0400 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 1pkwmW-00031w-Lb for help-guix@gnu.org; Fri, 07 Apr 2023 20:50:17 -0400 Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkwmR-0000bj-M5 for help-guix@gnu.org; Fri, 07 Apr 2023 20:50:14 -0400 Received: by mail-ua1-x935.google.com with SMTP id t20so13190464uaw.5 for ; Fri, 07 Apr 2023 17:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680915009; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=o74edA81KcmuXdLoAJ1L8ftWBvm/cNkScouIDFqaing=; b=F0/MdG+dQjDUQrcn4/uv2WurAHUOjfuKS/7Wm1az0DaBl4xyHp4Ki9NVLZOrVQs2ju zBgFyBiiW/jFcTch6xiGCwxavy+7OZuFRfbv/g/MTyvm3Ya7eTsbvYUNCDB+8asymO9n 4afGBACzMvr+yczGvmm0JPJW5CjC5F7Qg6uGdwZ1+9P65aVmlMDgti+LDYm0a6s30ZX8 hL+GTe7AAwIUcH/tMlYoSEb2nk2vfmEp/yEzgN27mA3eiRr7G3XSQZA15AtajuuMO7Ij m+XFtirMrPRuwOhnOPy/vvqizMmGvZnBZiZtFic4+1/D87sqnymVZg3KBAbLLhNzqMdd I9fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680915009; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=o74edA81KcmuXdLoAJ1L8ftWBvm/cNkScouIDFqaing=; b=0LqWF8C2cqIAiiRcH6WiCZoDrKXA+lCRF9Sjd3tkBQguPC8Ikrz5+BEcw44RZVMQIF O4puJnx5HfNuT1J3aq/sSN2sISq9EruQ/Vr3CNDdQHZdaRK9ABeNtlX4THc24GK7EpRW /lip5oEjF+r+UwhWS3DGH2EjKNqggOWjpQOFv4dmHWMDazva5DHKNI5N2ErAXNjmNA5Y XQqfp2ZVO39ZC+m0N5W8htfuLpckiYOOBtikZao9s03x3cTXP/O3tMzvUCMlIRxN6oOZ DQR5yLoAt+evuR8LWNY3WQntXcayKse1usdKNW7ncX4dgCqq4cO2aMQ+GFvm+KpcCXFK DXJA== X-Gm-Message-State: AAQBX9dgDJosCQ6T/YQz0nmYRD5rFR70UWbOE7npslJwI6u6oZjmqkkJ t3PLdof3m0+35XiAbf2U903mwX78FkXIFgvC3MmBr57Tomc= X-Google-Smtp-Source: AKy350YfHOf4Zl+7TNDFhp3wPqzA9BbktcLaJJgOwR6+YfVkiMIoSP1HDKwWx0KqM/F14WKLguNJAsADw2Ca24YGz98= X-Received: by 2002:a1f:9b4a:0:b0:43b:30a4:5bc1 with SMTP id d71-20020a1f9b4a000000b0043b30a45bc1mr2115272vke.2.1680915009126; Fri, 07 Apr 2023 17:50:09 -0700 (PDT) MIME-Version: 1.0 From: Rodrigo Morales Date: Sat, 8 Apr 2023 00:49:53 +0000 Message-ID: Subject: Newbie: What's the importance of *.drv, *.-builder, etc. files in /gnu/store? To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::935; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-ua1-x935.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680918079; a=rsa-sha256; cv=none; b=TM0jycXUmDEfqHC1L3mpLR2AZZWUEh+bIGKElJur01qfxtPLu1ptcqjXlFBx838IJlCnYZ NVEhhzLv2z2vVO1OX+66bhlUhcsr/doKHvmYVmjFqffsOOU0qvjpmIUiD5IS8jIeMd5WCx eTzLvJl6hL4uzNaE7YIvnLgYPRkTX8OA7rYEslMXT/ct7NVyNCn336NX3XbifXeF9R/6LT sG4A/oHzY8gRAGWtDn/rpaJR28bQlATxRqg6W68Ftx8IbBreqQN1DYN2f/CwHKrKVeDYD0 zmf0y3YOMHrp1YHmnKDhW10E5TCgXbWRljirjazYXBsibeB3wGfSSLaIVFGKVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b="F0/MdG+d"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680918079; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KX3xUqdEKZhFP/ARpcCCxunCgqb4YrUm593fTO5wNnU=; b=KOItlehhHo5cScObMMqK7UZUZZr9NLwMEbTIe0MS8rVF4TuiemxCArKjVapCYN5rOePfkR 4VIVt+6Ws1OvqMQKNo5gSmNUXMBmgd2/6eUos2gUZkvMcJodBnIUazoHJYFp0GmjYq2zrC M9KG7GvTfOF50/tWNM1SwhkWf8UZeWpFIYuHdE4xpKIseYtckaq5UNjztXq5K1FMiN50BZ 5vIi35G/Y6QMoln/cQED878xSHLytUV5qbRwTNL/g7vcqSufW+BI1SIkUAzAa9IfUWVP+m m8vV+ma3aIt6+BHF3tcYNYfBn+zCnq81dXwpzwHIJ01BFx/VoDOHnTrkIEtwvQ== X-Migadu-Spam-Score: 6.98 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b="F0/MdG+d"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Spam-Score: 6.98 X-Migadu-Queue-Id: A99C28754 X-TUID: jSd3Z+O1EnEc Table of Contents _________________ 1. TL; DR 2. The context 3. The question 1 TL; DR =3D=3D=3D=3D=3D=3D=3D=3D I'm a newbie when it comes to understanding the file extensions of files that exist in `/gnu/store'. I want to know what each file extension means and how they are important to the operating system or for the user. Namely, the extensions that I don't understand yet are + `*.drv', `*-builder', `*.tar.xz.drv.', `*.tar.xz-builder.' and + `*-honor-localdir.patch'. References to the manual or documentation on this topic are greatly appreciated. 2 The context =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Initially, my `/gnu/store' have no directory whose name contain the word `transmission'. ,---- | find /gnu/store -mindepth 1 -maxdepth 1 -name '*transmission*' | wc -l `---- ,---- | 0 `---- Now, I install the package `transmission'. ,---- | delta% guix package -i transmission | The following package will be installed: | transmission 3.00 | | 1.5 MB will be downloaded | transmission-3.00 664KiB 222KiB/s 00:03 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0% transmission-3.00-g= ui 757KiB 271KiB/s 00:03 =E2=96=95=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=8F 100.0%The following derivation will be built: | /gnu/store/6x0f3mczkz5dmsrrnw5z6nwd2l0lnr33-profile.drv | | applying 27 grafts for transmission-3.00 ... | building profile with 11 packages... | delta% echo $? | 0 `---- After installing the package, there are 4 directories and 8 files in `/gnu/store'. See proof below. ,---- | find /gnu/store -mindepth 1 -maxdepth 1 -name '*transmission*' | wc -l | find /gnu/store -mindepth 1 -maxdepth 1 -name '*transmission*' -printf '%y %p\n' `---- ,---- | 12 | f /gnu/store/w5axm22g9nrgbkhrsjlf4zvnksavdjwp-transmission-3.00.tar.xz.drv | f /gnu/store/d4h1gkavik552f9bqcnimiylhrp18b7c-transmission-honor-localedir.pa= tch | f /gnu/store/xivc36rv3dk5qzfmf78hzrrvnp6m1crv-transmission-3.00.tar.xz-builde= r | f /gnu/store/01h9m5lrmxhcbxxlf45z24zgmbvm6ibj-transmission-3.00.tar.xz.drv | f /gnu/store/asq7m7221syq0rlwiy01lhcsj54lihyv-transmission-3.00-builder | f /gnu/store/v8sgmbxrji7gkd4pyc2x4wik4x29qysg-transmission-3.00.drv | f /gnu/store/dan5qy88nzdyn9010qz0a9666bss6x4v-transmission-3.00-builder | f /gnu/store/pv9yvk7qzs7ifx5fkam2mqla51y12ihh-transmission-3.00.drv | d /gnu/store/dxyjmmrw6vkbjmm4jx17i92rnc4mmcm3-transmission-3.00 | d /gnu/store/p4wfwg0d6qz5navc6w5gnc6gzibhiisd-transmission-3.00-gui | d /gnu/store/6kmyb111bpf0mx25vd981h4zqmzp02jl-transmission-3.00-gui | d /gnu/store/pnq464qnrr5nrmhr3avn39b22axf1na8-transmission-3.00 `---- The last 4 directories in the output shown above look as if they contain the binaries and additional files of the build process. Please correct me if I'm wrong. ,---- | echo - | find /gnu/store/p4wfwg0d6qz5navc6w5gnc6gzibhiisd-transmission-3.00-gui -mindepth 1 -maxdepth 1 | echo - | find /gnu/store/6kmyb111bpf0mx25vd981h4zqmzp02jl-transmission-3.00-gui -mindepth 1 -maxdepth 1 | echo - | find /gnu/store/dxyjmmrw6vkbjmm4jx17i92rnc4mmcm3-transmission-3.00 -mindepth 1 -maxdepth 1 | echo - | find /gnu/store/pnq464qnrr5nrmhr3avn39b22axf1na8-transmission-3.00 -mindepth 1 -maxdepth 1 `---- ,---- | - | /gnu/store/p4wfwg0d6qz5navc6w5gnc6gzibhiisd-transmission-3.00-gui/bin | /gnu/store/p4wfwg0d6qz5navc6w5gnc6gzibhiisd-transmission-3.00-gui/share | /gnu/store/p4wfwg0d6qz5navc6w5gnc6gzibhiisd-transmission-3.00-gui/etc | - | /gnu/store/6kmyb111bpf0mx25vd981h4zqmzp02jl-transmission-3.00-gui/bin | /gnu/store/6kmyb111bpf0mx25vd981h4zqmzp02jl-transmission-3.00-gui/share | /gnu/store/6kmyb111bpf0mx25vd981h4zqmzp02jl-transmission-3.00-gui/etc | - | /gnu/store/dxyjmmrw6vkbjmm4jx17i92rnc4mmcm3-transmission-3.00/bin | /gnu/store/dxyjmmrw6vkbjmm4jx17i92rnc4mmcm3-transmission-3.00/share | /gnu/store/dxyjmmrw6vkbjmm4jx17i92rnc4mmcm3-transmission-3.00/etc | /gnu/store/dxyjmmrw6vkbjmm4jx17i92rnc4mmcm3-transmission-3.00/lib | - | /gnu/store/pnq464qnrr5nrmhr3avn39b22axf1na8-transmission-3.00/bin | /gnu/store/pnq464qnrr5nrmhr3avn39b22axf1na8-transmission-3.00/share | /gnu/store/pnq464qnrr5nrmhr3avn39b22axf1na8-transmission-3.00/etc | /gnu/store/pnq464qnrr5nrmhr3avn39b22axf1na8-transmission-3.00/lib `---- As I'm not very familiar with Guix build process and generations, I'm wondering what's the relevance of the files that are created in `/gnu/store' and whose file extensions are + `*.drv' + `*-builder' + `*.tar.xz.drv.' + `*.tar.xz-builder.' + `*-honor-localdir.patch' 3 The question =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Is there any section in the Guix manual that explains the meaning of each extension and how they are important to the operating system or useful to the user? If not, could anyone briefly describe those file extensions please?