unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Zhu Zihao <all_but_last@163.com>, help-guix@gnu.org
Subject: Re: Inject custom search specification into profile
Date: Fri, 27 Nov 2020 09:27:55 +0100	[thread overview]
Message-ID: <87mtz3fblg.fsf@ambrevar.xyz> (raw)
In-Reply-To: <86k0u7co46.fsf@163.com>

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Hi!

The trick is that etc/profile exports environment variables for the
packages that explicitly consume them, not for packages that are
consumed by others.

I don't know about Xfce, so I'll give you an example with pkg-config: if
you install just webkitgtk to a profile, its lib/pkgconfig/*.pc files
won't be detected by a `pkg-config` executable (that comes from a
different profile).  If you include `pkg-config` itself in the profile,
then the profile *.pc files will be found.

I suppose that for Xfce you need to install a component that looks up
XDG_DATA_DIRS.

Hope that helps!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

      reply	other threads:[~2020-11-27  8:28 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
2020-11-27  8:27   ` Pierre Neidhardt [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=87mtz3fblg.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=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).