From: "Léo Le Bouter via Guix-patches via" <guix-patches@gnu.org>
To: 45745-done@debbugs.gnu.org
Subject: bug#45745:
Date: Mon, 22 Feb 2021 19:06:25 +0100 [thread overview]
Message-ID: <60383ab55c6616ca22e131bc9b3bc5f77a01296a.camel@zaclys.net> (raw)
In-Reply-To: <cbeaa51097ddd926add2a26b43cc1d1b665d695a.camel@zrythm.org>
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
Made it work and pushed as ad06c29b37924ecf5eb3bd440c7456cad6415c3b.
Have a look at the redshift package for an example on how to wrap the
final binary to include PYTHONPATH and GI_TYPELIB_PATH from the build
environment.
For this one, I added such a phase:
(add-after 'install 'wrap-screenkey
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program
(string-append (assoc-ref outputs "out")
"/bin/screenkey")
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
`("GI_TYPELIB_PATH"
":" prefix (,(getenv "GI_TYPELIB_PATH"))))
#t))
Thank you!
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2021-02-22 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-09 14:45 [bug#45745] [PATCH] gnu: Add python-screenkey Alexandros Theodotou
2021-02-22 18:06 ` Léo Le Bouter via Guix-patches via [this message]
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=60383ab55c6616ca22e131bc9b3bc5f77a01296a.camel@zaclys.net \
--to=guix-patches@gnu.org \
--cc=45745-done@debbugs.gnu.org \
--cc=lle-bout@zaclys.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).