From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: 65044@debbugs.gnu.org
Subject: [bug#65044] [PATCH] gnu: alacritty: Install example configuration.
Date: Thu, 03 Aug 2023 20:07:05 +0000 [thread overview]
Message-ID: <87fs4zriu3.fsf@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
Hi guix,
A quick simple patch to include alacritty's example configuration file as part of docs (I followed e.g. Arch's packaging putting it there rather than e.g. /etc). I wasn't sure the style of copy-file vs install-file and this custom install phase so went with what seemed cleanest. Tested it builds locally.
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-alacritty-Install-example-configuration.patch --]
[-- Type: text/x-patch; name=0001-gnu-alacritty-Install-example-configuration.patch, Size: 1304 bytes --]
From 08831e7530a1c5ef6b87e293051c4b92f10d1513 Mon Sep 17 00:00:00 2001
Message-ID: <08831e7530a1c5ef6b87e293051c4b92f10d1513.1691093041.git.john.kehayias@protonmail.com>
From: John Kehayias <john.kehayias@protonmail.com>
Date: Thu, 3 Aug 2023 15:54:52 -0400
Subject: [PATCH] gnu: alacritty: Install example configuration.
* gnu/packages/terminals.scm (alacritty)[phases]{install}: Install example
configuration.
---
gnu/packages/terminals.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 081ef19af1..d54910bce7 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1515,6 +1515,9 @@ (define-public alacritty
(mkdir-p man)
(copy-file "extra/alacritty.man"
(string-append man "/alacritty.1"))
+ ;; Install example configuration.
+ (install-file "alacritty.yml"
+ (string-append share "/doc/alacritty-" ,version "/example"))
;; Install desktop file.
(install-file "extra/linux/Alacritty.desktop"
(string-append share "/applications"))
base-commit: 4ded034a57ffacdd6c7afa73bb58893afd614644
--
2.41.0
next reply other threads:[~2023-08-03 20:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-03 20:07 John Kehayias via Guix-patches via [this message]
2023-08-17 15:51 ` [bug#65044] [PATCH] gnu: alacritty: Install example configuration Ludovic Courtès
2023-08-18 15:50 ` bug#65044: " John Kehayias via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fs4zriu3.fsf@protonmail.com \
--to=guix-patches@gnu.org \
--cc=65044@debbugs.gnu.org \
--cc=john.kehayias@protonmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.