From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kFonIOWvwmRfJwAASxT56A (envelope-from ) for ; Thu, 27 Jul 2023 19:56:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aK8TIOWvwmRwSAAA9RJhRA (envelope-from ) for ; Thu, 27 Jul 2023 19:56:53 +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 F1FAD394FF for ; Thu, 27 Jul 2023 19:56:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Zs0sCQdJ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690480613; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=bw6aMg5EVcPayi6T0Q3MPAXGhH9tKcS5VYk3cuS77Gk=; b=r08muQovA8+WDmk2cb5GUtPILRVBfayibtNIbSniFjo6ZromWItkEptrjD82jEl/JPo26W k374MvdHEKqp/McZ6MvGFRDS18JKvsqMKh4nnMZxX/Jy8Mr7lQT5p54/h1YKWAswRgQ7Rw 9DyfGwGxvjP3O0r5Awl8wR8IIitONunSWDzZ9llZ8o4qWPJBIEHbGmdD0KaKoaJXwu2X1a IaP0gdZni3xN91L0DHEFET4HGfUqtSalBquYcG4VPnZHesxcc0LdICr1kqiXRGnSabZ+zQ vVqMhMAgYN5uxLP9+LXieKUT0Xkj9oQG82+zCSwdUpHpfuJzthN8bwZraXMW9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690480613; a=rsa-sha256; cv=none; b=QWqoyzek++TXI2E9b8x/JdyLQGS+2kFEYLxNLqBjREFF6GriBuyCkPk/WGuXD9TXO/hwUo IbxSkvp/nfmQppohjMlN2EI94kctdzKar9ku4frezEJDwIIYxyxJSNwkmmW+jcnQev0l3l QQFJGGWZqQKExvR+zg0GwSGhG+wOamMZzl8knEewBiU29TBuxgxONKCVP2WhQx8ypLvQ1z uJg9yK10czZ+zwyb5EUzvZQk/vp+WJSsTUkZBsIHLAxZqCwj1kTmGKEqISBN5QC9N6xZVz foVT8MjjIn/cSX+xeX08/rBFVuSaWcSJF6WsU3M4rG20ksSyO9VuaRMAFnClew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Zs0sCQdJ; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP3Fd-0002SI-21; Thu, 27 Jul 2023 11:50:05 -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 1qP3Fb-0002S9-Is for bug-guix@gnu.org; Thu, 27 Jul 2023 11:50:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qP3Fb-0006PM-9f for bug-guix@gnu.org; Thu, 27 Jul 2023 11:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qP3Fa-000883-FD for bug-guix@gnu.org; Thu, 27 Jul 2023 11:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64881: [translation] M-x texinfo-all-menus-update breaks translated cookbook Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 Jul 2023 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64881 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: 64881@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" Received: via spool by 64881-submit@debbugs.gnu.org id=B64881.169047296231196 (code B ref 64881); Thu, 27 Jul 2023 15:50:02 +0000 Received: (at 64881) by debbugs.gnu.org; 27 Jul 2023 15:49:22 +0000 Received: from localhost ([127.0.0.1]:42912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3Es-000872-Mi for submit@debbugs.gnu.org; Thu, 27 Jul 2023 11:49:21 -0400 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:61525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3Em-00086d-VN for 64881@debbugs.gnu.org; Thu, 27 Jul 2023 11:49:17 -0400 Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-6bb14c05d77so925872a34.2 for <64881@debbugs.gnu.org>; Thu, 27 Jul 2023 08:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690472946; x=1691077746; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=bw6aMg5EVcPayi6T0Q3MPAXGhH9tKcS5VYk3cuS77Gk=; b=Zs0sCQdJnA9DlcI4uhv9438Ydd4mhfwrtq3Z7hQpda4ZAmAL9m4y9pDnIY4Qr2q4Uj eikVjWRyCj+XNALb0J5JSgAR8SIRJDIX696KHkBTLL4mEN3rR1FkOv6L6QsSmrhOHhXp WlWdEWrieNLTBK8hE6IVGkV2Sc5m+JHNJflqd6nsaX2m/sWmSVp8Ph00S8SnprWW6hVl p2P0He3JQ724Rd6iHBIESCBSWKJPSVJgTieEBNXlgO83niLRj/ow7F+GdD6VoC+dG+ZU /c4kCgp+65ml9ViYO7oYPJ4Bp+6kVvPWuYksRa5wj7o97tPGVRY6Jokv3266sYT9C+VP JUQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690472946; x=1691077746; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bw6aMg5EVcPayi6T0Q3MPAXGhH9tKcS5VYk3cuS77Gk=; b=AQrTkGBj4IPVByAHafUxahJD8Bo4wYIsfnt3jrx4tLXyBB5iq302XXKimv4Fp9fHyr VGb7amyU+PeNMr89o3jrGRfpe52Km2a2HmAetasmudWa/Bs+Ih4OPgZK8ZKrV1hez2pL a0DtCxmAMDFeVa8HmOYgnQSIhAAnyCIoOh7XoAsGIcgmQFZvY5+C95mIn0w0EQKyJti5 TccKXd9XuG9SXH8TF23VYMV3Go2P3gRNq6WF5kvh6nuQKu21CdB/A6lsJ58Lv1KqDF4M YkIWH7V/Tqibv37rxKqCErBOJQxLzOxU3QGVJ6HVAXOL33w8xvrBTZvTdBmMauG/lrWj kn7A== X-Gm-Message-State: ABy/qLZXVMCKLRQ7EIDacqDhGvf59GNYW3wfAK4NzdAnNcRfSGS7HkCp +U+kRSAr7KM/ExDzKOvRKo4qkF5ImzE= X-Google-Smtp-Source: APBJJlFE5YUsE6MUmdIIEiKce/7keBKPOHjWMygvnGUrxoJOal4sdtWipH5xuiqApzpNiJFu6dPDgQ== X-Received: by 2002:a05:6358:6f09:b0:134:e8c6:a888 with SMTP id r9-20020a0563586f0900b00134e8c6a888mr2826684rwn.8.1690472946497; Thu, 27 Jul 2023 08:49:06 -0700 (PDT) Received: from hurd (dsl-205-233-124-231.b2b2c.ca. [205.233.124.231]) by smtp.gmail.com with ESMTPSA id f12-20020a0cf3cc000000b006362c5760f8sm499092qvm.139.2023.07.27.08.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 08:49:05 -0700 (PDT) From: Maxim Cournoyer References: <87cz0ezcwb.fsf@gmail.com> <874jlpfscg.fsf@pelzflorian.de> <877cqlmkyj.fsf@jpoiret.xyz> Date: Thu, 27 Jul 2023 11:49:04 -0400 In-Reply-To: <877cqlmkyj.fsf@jpoiret.xyz> (Josselin Poiret's message of "Thu, 27 Jul 2023 17:29:40 +0200") Message-ID: <877cqlz767.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: 7.36 X-Spam-Score: 7.36 X-Migadu-Queue-Id: F1FAD394FF X-TUID: rSrtqUk4DgWh --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Josselin Poiret writes: > Hi everyone, > > "pelzflorian (Florian Pelz)" writes: > >> IIUC 'make as-derivation' uses the files from the guix directory, but >> 'guix pull' uses the files from a repo checkout and was not=C2=A0/ canno= t be >> broken by stray files. > > `make as-derivation` uses #:select? git? to restrict to only files > that are checked out in git. It doesn't try to get the contents of HEAD > though, the working directory's state is used instead. Both 'make as-derivation' and 'guix pull' exhibit the same problem, in case that wasn't clear. M-x texinfo-update-all-menus is available out-of-the-box in Emacs, when visiting a .texi file (you invoke it via Alt-x texinfo-update-all-menus or by visiting the 'Texinfo -> Update All Menus' menu). Attached is the patch resulting from such action, the one that when applied breaks 'make as-derivation'. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-doc-guix-cookbook-Update-all-Texinfo-menus.patch >From 825fdcfdc444a0f6836f0f24cd1173e03d91e5a0 Mon Sep 17 00:00:00 2001 Message-ID: <825fdcfdc444a0f6836f0f24cd1173e03d91e5a0.1690472916.git.maxim.cournoyer@gmail.com> From: Maxim Cournoyer Date: Thu, 27 Jul 2023 11:47:55 -0400 Subject: [PATCH] doc: guix-cookbook: Update all Texinfo menus. * doc/guix-cookbook.texi: Update all Texinfo menus, via 'M-x texinfo-update-all-menus' in Emacs. --- doc/guix-cookbook.texi | 160 +++++++++++++++++++++++++++++++++-------- 1 file changed, 129 insertions(+), 31 deletions(-) diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index 2e58c6c795..5698614c00 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -78,7 +78,7 @@ Top * Containers:: Isolated environments and nested systems * Advanced package management:: Power to the users! * Environment management:: Control environment -* Installing Guix on a Cluster:: High-performance computing. +* Installing Guix on a Cluster:: High-performance computing. * Acknowledgments:: Thanks! * GNU Free Documentation License:: The license of this document. @@ -87,36 +87,85 @@ Top @detailmenu --- The Detailed Node Listing --- +Scheme tutorials + +* A Scheme Crash Course:: + Packaging -* Packaging Tutorial:: A tutorial on how to add packages to Guix. +* Packaging Tutorial:: A tutorial on how to add packages to Guix. + +Packaging Tutorial + +* A ``Hello World'' package:: +* Setup:: +* Extended example:: +* Other build systems:: +* Programmable and automated package definition:: +* Getting help:: +* Conclusion:: +* References:: + +Setup + +* Local file:: +* Channels:: +* Direct checkout hacking:: + +Programmable and automated package definition + +* Recursive importers:: +* Automatic update:: +* Inheritance:: System Configuration -* Auto-Login to a Specific TTY:: Automatically Login a User to a Specific TTY -* Customizing the Kernel:: Creating and using a custom Linux kernel on Guix System. -* Guix System Image API:: Customizing images to target specific platforms. -* Using security keys:: How to use security keys with Guix System. +* Auto-Login to a Specific TTY:: Automatically Login a User to a Specific TTY +* Customizing the Kernel:: Creating and using a custom Linux kernel on Guix System. +* Guix System Image API:: Customizing images to target specific platforms. +* Using security keys:: How to use security keys with Guix System. * Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. -* Customizing a Window Manager:: Handle customization of a Window manager on Guix System. -* Running Guix on a Linode Server:: Running Guix on a Linode Server -* Setting up a bind mount:: Setting up a bind mount in the file-systems definition. -* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. -* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. -* Music Server with Bluetooth Audio:: Headless music player with Bluetooth output. +* Customizing a Window Manager:: Handle customization of a Window manager on Guix System. +* Running Guix on a Linode Server:: Running Guix on a Linode Server. Running Guix on a Linode Server +* Setting up a bind mount:: Setting up a bind mount in the file-systems definition. +* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. +* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. +* Music Server with Bluetooth Audio:: Headless music player with Bluetooth output. + +Customizing a Window Manager + +* StumpWM:: +* Session lock:: + +Session lock + +* Xorg:: Containers -* Guix Containers:: Perfectly isolated environments -* Guix System Containers:: A system inside your system +* Guix Containers:: Perfectly isolated environments +* Guix System Containers:: A system inside your system + +Guix System Containers + +* A Database Container:: +* Container Networking:: Advanced package management -* Guix Profiles in Practice:: Strategies for multiple profiles and manifests. +* Guix Profiles in Practice:: Strategies for multiple profiles and manifests. + +Guix Profiles in Practice + +* Basic setup with manifests:: +* Required packages:: +* Default profile:: +* The benefits of manifests:: +* Reproducible profiles:: Environment management -* Guix environment via direnv:: Setup Guix environment with direnv +* Guix environment via direnv:: Setup Guix environment with direnv Installing Guix on a Cluster @@ -144,6 +193,10 @@ Scheme tutorials Let's get started! +@menu +* A Scheme Crash Course:: +@end menu + @node A Scheme Crash Course @section A Scheme Crash Course @@ -396,7 +449,7 @@ Packaging them. @menu -* Packaging Tutorial:: A tutorial on how to add packages to Guix. +* Packaging Tutorial:: A tutorial on how to add packages to Guix. @end menu @node Packaging Tutorial @@ -438,6 +491,17 @@ Packaging Tutorial The reader is only expected to be familiar with the command line and to have some basic programming knowledge. +@menu +* A ``Hello World'' package:: +* Setup:: +* Extended example:: +* Other build systems:: +* Programmable and automated package definition:: +* Getting help:: +* Conclusion:: +* References:: +@end menu + @node A ``Hello World'' package @subsection A ``Hello World'' package @@ -643,6 +707,12 @@ Setup But first, let's look at other possibilities. +@menu +* Local file:: +* Channels:: +* Direct checkout hacking:: +@end menu + @node Local file @subsubsection Local file @@ -1293,6 +1363,12 @@ Programmable and automated package definition Let's illustrate this with some awesome features of Guix! +@menu +* Recursive importers:: +* Automatic update:: +* Inheritance:: +@end menu + @node Recursive importers @subsubsection Recursive importers @@ -1456,17 +1532,17 @@ System Configuration reference. @menu -* Auto-Login to a Specific TTY:: Automatically Login a User to a Specific TTY -* Customizing the Kernel:: Creating and using a custom Linux kernel on Guix System. -* Guix System Image API:: Customizing images to target specific platforms. -* Using security keys:: How to use security keys with Guix System. +* Auto-Login to a Specific TTY:: Automatically Login a User to a Specific TTY +* Customizing the Kernel:: Creating and using a custom Linux kernel on Guix System. +* Guix System Image API:: Customizing images to target specific platforms. +* Using security keys:: How to use security keys with Guix System. * Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. -* Customizing a Window Manager:: Handle customization of a Window manager on Guix System. -* Running Guix on a Linode Server:: Running Guix on a Linode Server -* Setting up a bind mount:: Setting up a bind mount in the file-systems definition. -* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. -* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. -* Music Server with Bluetooth Audio:: Headless music player with Bluetooth output. +* Customizing a Window Manager:: Handle customization of a Window manager on Guix System. +* Running Guix on a Linode Server:: Running Guix on a Linode Server. Running Guix on a Linode Server +* Setting up a bind mount:: Setting up a bind mount in the file-systems definition. +* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. +* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. +* Music Server with Bluetooth Audio:: Headless music player with Bluetooth output. @end menu @node Auto-Login to a Specific TTY @@ -2103,6 +2179,11 @@ Customizing a Window Manager @section Customizing a Window Manager @cindex wm +@menu +* StumpWM:: +* Session lock:: +@end menu + @node StumpWM @subsection StumpWM @cindex stumpwm @@ -2158,6 +2239,10 @@ Session lock like GNOME or KDE, it's usually built in. If you use a plain window manager like StumpWM or EXWM, you might have to set it up yourself. +@menu +* Xorg:: +@end menu + @node Xorg @subsubsection Xorg @@ -2821,8 +2906,8 @@ Containers system-wide. @menu -* Guix Containers:: Perfectly isolated environments -* Guix System Containers:: A system inside your system +* Guix Containers:: Perfectly isolated environments +* Guix System Containers:: A system inside your system @end menu @node Guix Containers @@ -3006,6 +3091,11 @@ Guix System Containers software are satisfied through the deployment of system services. +@menu +* A Database Container:: +* Container Networking:: +@end menu + @node A Database Container @subsection A Database Container @@ -3208,7 +3298,7 @@ Advanced package management reference. @menu -* Guix Profiles in Practice:: Strategies for multiple profiles and manifests. +* Guix Profiles in Practice:: Strategies for multiple profiles and manifests. @end menu @node Guix Profiles in Practice @@ -3287,6 +3377,14 @@ Guix Profiles in Practice Let's dive in the set up! +@menu +* Basic setup with manifests:: +* Required packages:: +* Default profile:: +* The benefits of manifests:: +* Reproducible profiles:: +@end menu + @node Basic setup with manifests @subsection Basic setup with manifests @@ -3601,7 +3699,7 @@ Environment management demonstrate such utilities. @menu -* Guix environment via direnv:: Setup Guix environment with direnv +* Guix environment via direnv:: Setup Guix environment with direnv @end menu @node Guix environment via direnv base-commit: c7e45139faa27b60f2c7d0a4bc140f9793d97d47 -- 2.41.0 --=-=-= Content-Type: text/plain -- Thanks, Maxim --=-=-=--