From: Zhu Zihao <all_but_last@163.com>
To: help-guix@gnu.org
Subject: Re: Inject custom search specification into profile
Date: Fri, 27 Nov 2020 14:25:45 +0800 [thread overview]
Message-ID: <86k0u7co46.fsf@163.com> (raw)
In-Reply-To: <86wny7cupf.fsf@163.com>
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
Here's what currently I do
(use-modules (guix packages)
(guix build-system trivial)
(guix search-paths)
(guix profile))
(define (search-paths-placeholder specs)
(package
(name "search-paths-placeholder")
(version "0.0")
(source #f)
(build-system trivial-build-system)
(arguments '(#:builder (begin (mkdir %output #t))))
(synopsis #f)
(description #f)
(home-page #f)
(native-search-paths specs)
(license #f)))
And add this placeholder to manifest. Does Guix provide a better way to
achieve such goal?
--
Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp
Zihao
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]
next prev parent reply other threads:[~2020-11-27 6:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-27 4:03 Inject custom search specification into profile Zhu Zihao
2020-11-27 6:25 ` Zhu Zihao [this message]
2020-11-27 8:27 ` Pierre Neidhardt
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=86k0u7co46.fsf@163.com \
--to=all_but_last@163.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).