all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Roel Janssen <roel@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: How to deal with system-wide state databases
Date: Mon, 13 Jun 2016 17:11:57 +0200	[thread overview]
Message-ID: <8737ohcede.fsf@gnu.org> (raw)
In-Reply-To: <87wplttout.fsf@gnu.org> (Roel Janssen's message of "Mon, 13 Jun 2016 11:33:30 +0200")

Roel Janssen <roel@gnu.org> skribis:

> Ludovic Courtès writes:
>
>> Hello!
>>
>> Roel Janssen <roel@gnu.org> skribis:
>>
>>> How should we deal with mechanisms like this?  Should I change the scrollkeeper
>>> database directory per program, so in this case it becomes:
>>> /gnu/store/xgbvyqs...-gparted-0.26.0/var/lib/scrollkeeper
>>>
>>> Or can we deal with this in a more cross-package way?
>>
>> Maybe we could add a profile hook to ‘%default-profile-hooks’ in (guix
>> profiles)?
>
> I think people only need Scrollkeeper when they wish to have the
> documentation available in Yelp (GNOME's help browser).  So it only
> affects a few people I believe.

I think documentation is quite useful, in general.  :-)

> Would it then still make sense?  Maybe this hook should only be active
> when Yelp is installed in the profile on which the transaction
> operates.  Is that possible?

Definitely.  For instance, ‘ghc-package-cache-file’ does exactly this
kind of trick.  (It’s not completely satisfying, since we’re simply
matching file names, but it does the job.)

> With this construct, I'd have to patch out the 'scrollkeeper-update'
> command from the GParted build system.

Yes.

Thanks,
Ludo’.

  reply	other threads:[~2016-06-13 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10  9:32 How to deal with system-wide state databases Roel Janssen
2016-06-10 13:16 ` Ludovic Courtès
2016-06-13  9:33   ` Roel Janssen
2016-06-13 15:11     ` Ludovic Courtès [this message]
2016-06-13 17:19       ` Roel Janssen
2016-06-14 10:11         ` Ludovic Courtès

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=8737ohcede.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=roel@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.
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.