From: miyamoto moesasji <miyamoto.31b@gmail.com>
To: help-guix@gnu.org
Subject: How to replace a system package with a patched version in system configuration?
Date: Sun, 10 Jan 2021 11:58:11 +0000 [thread overview]
Message-ID: <CAMGq3BGutTdOv8UzdhRrY67sLb1GeuSxccaLaKdOTtUT0PmFxg@mail.gmail.com> (raw)
I want to add my custom keyboard layout by patching xkeyboard-config
so that this layout can
be used in the rest of the system configuration.
From the manual on defining package variants it is clear how to define
such a patched variant.
However it is not at all clear to me how to use the various
package-rewrite options in that
manual page to make my system configuration use the patched
xkeyboard-config. The only
related question
(https://lists.gnu.org/archive/html/help-guix/2018-07/msg00008.html)
that I
have been able to find managed to work around it.
As I'm at a loss how to do this cleanly**: could someone give me a
pointer on how to adapt the
default desktop example
(https://guix.gnu.org/manual/en/html_node/Using-the-Configuration-System.html)
to add a patched system package such as xkeyboard-config?
**) I can see that a work-around is to use a custom guix channel.
However that seems a lot of
additional work as it would require keeping the channel in sync. There
must be a cleaner approach
to achieve this.
next reply other threads:[~2021-01-10 12:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-10 11:58 miyamoto moesasji [this message]
2021-01-10 12:26 ` How to replace a system package with a patched version in system configuration? John Soo
2021-01-10 12:34 ` miyamoto moesasji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMGq3BGutTdOv8UzdhRrY67sLb1GeuSxccaLaKdOTtUT0PmFxg@mail.gmail.com \
--to=miyamoto.31b@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).