GNU bug report logs - #69940
[PATCH 0/2] Making a 'guix' package with specific channels

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Fri, 22 Mar 2024 14:11:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#69940: closed ([PATCH 0/2] Making a 'guix' package with
 specific channels)
Date: Fri, 05 Apr 2024 16:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 05 Apr 2024 18:30:48 +0200
with message-id <87h6gfpy9z.fsf <at> gnu.org>
and subject line Re: [bug#69940] [PATCH 0/2] Making a 'guix' package with specific channels
has caused the debbugs.gnu.org bug report #69940,
regarding [PATCH 0/2] Making a 'guix' package with specific channels
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
69940: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69940
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Subject: [PATCH 0/2] Making a 'guix' package with specific channels
Date: Fri, 22 Mar 2024 14:58:37 +0100
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Hello Guix!

This patch series aims to allow users to create an operating system
that runs a specific Guix for ‘guix-service-type’, and in particular
for /run/current-system/profile/bin/guix: it could be the ‘guix’
channel pinned to a specific revision, or it could be ‘guix’ together
with additional channels.  Here’s the example added in the new
section of the manual:

     (use-modules (guix channels))

     (define my-channels
       ;; Channels that should be available to
       ;; /run/current-system/profile/bin/guix.
       (append
        (list (channel
               (name 'guix-science)
               (url "https://github.com/guix-science/guix-science")
               (branch "master")))
        %default-channels))

     (operating-system
       ;; ...
       (services
         ;; Change the package used by 'guix-service-type'.
         (modify-services %base-services
           (guix-service-type
            config => (guix-configuration
                       (inherit config)
                       (channels my-channels)
                       (guix (guix-for-channels my-channels)))))))

The resulting operating system will have both the ‘guix’ and the
‘guix-science’ channels visible by default.  The ‘channels’ field of
‘guix-configuration’ above ensures that /etc/guix/channels.scm specifies
the same set of channels

Thoughts?

Thanks,
Ludo’.

Ludovic Courtès (2):
  build-system/channel: Add support for additional channels.
  gnu: guix: Define ‘guix-for-channels’ and document its use.

 doc/guix.texi                       | 67 ++++++++++++++++++++++++++++-
 gnu/packages/package-management.scm | 14 +++++-
 guix/build-system/channel.scm       |  7 ++-
 3 files changed, 83 insertions(+), 5 deletions(-)


base-commit: 40f53e8fb5b867e3a1e8fa798328423718282aac
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: 69940-done <at> debbugs.gnu.org
Subject: Re: [bug#69940] [PATCH 0/2] Making a 'guix' package with specific
 channels
Date: Fri, 05 Apr 2024 18:30:48 +0200
Hello,

Ludovic Courtès <ludo <at> gnu.org> skribis:

>   build-system/channel: Add support for additional channels.
>   gnu: guix: Define ‘guix-for-channels’ and document its use.

Pushed as be14d41d9be3ef91d11ab24780855682c432cac9.

Ludo’.


This bug report was last modified 1 year and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.