|
From: | Ludovic Courtès |
Subject: | [bug#47163] Using package transformations declaratively |
Date: | Wed, 17 Mar 2021 18:17:12 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi, zimoun <zimon.toutoune@gmail.com> skribis: > There is several ways to have package transformations at the manifest > level. One is: > > (use-modules (guix transformations)) > > (define transform1 > (options->transformation > '((with-c-toolchain . "hello=gcc-toolchain@8")))) > > (packages->manifest > (list (transform1 (specification->package "hello")))) On this topic, do not miss this section of the fine manual: <https://guix.gnu.org/manual/en/html_node/Defining-Package-Variants.html>. :-) Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |