GNU bug report logs - #44321
[PATCH 0/6] Adding a (guix transformations) module

Previous Next

Package: guix-patches;

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

Date: Thu, 29 Oct 2020 23:09:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 44321 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [bug#44321] [PATCH 0/6] Adding a (guix transformations) module
Date: Fri, 30 Oct 2020 00:08:31 +0100
Hello Guix!

This patch series is to make ‘options->transformation’ public,
mostly so that users can directly translate package transformation
options to code they can use in manifests.

The second goal of the patch is to have a new “Defining Package
Variants” section that gives an introduction to this topic with
all the relevant pointers.

That’s it!  Thoughts?

Ludo’.

PS: I swear this is the last non-trivial change I’d submit for 1.2.
    :-)

Ludovic Courtès (6):
  guix build: 'package-with-source' no longer takes a 'store' parameter.
  guix build: Remove unnecessary (replacement #f).
  guix build: 'options->transformation' no longer takes a 'store'
    parameter.
  guix build: Move transformation options to (guix transformations).
  transformations: Raise '&formatted-message' exceptions instead of
    'leave'.
  doc: Add "Defining Package Variants" section.

 Makefile.am                                   |   3 +-
 doc/guix.texi                                 | 278 +++++---
 guix/scripts/build.scm                        | 544 +--------------
 guix/scripts/environment.scm                  |   3 +-
 guix/scripts/graph.scm                        |  13 +-
 guix/scripts/install.scm                      |   1 +
 guix/scripts/pack.scm                         |   5 +-
 guix/scripts/package.scm                      |   5 +-
 guix/scripts/upgrade.scm                      |   1 +
 guix/transformations.scm                      | 620 ++++++++++++++++++
 ...{scripts-build.scm => transformations.scm} | 267 ++++----
 11 files changed, 976 insertions(+), 764 deletions(-)
 create mode 100644 guix/transformations.scm
 rename tests/{scripts-build.scm => transformations.scm} (63%)

-- 
2.28.0





This bug report was last modified 4 years and 294 days ago.

Previous Next


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