unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Jookia <166291@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: The tricky case of "--localstatedir=/var"
Date: Wed, 17 Feb 2016 01:15:17 -0800	[thread overview]
Message-ID: <871t8br93u.fsf@gmail.com> (raw)
In-Reply-To: <20160217083849.GA27789@novena-choice-citizen.lan> (Jookia's message of "Wed, 17 Feb 2016 19:38:49 +1100")

Jookia <166291@gmail.com> writes:

> the Guix package doesn't use this default which breaks compatibility
> with itself.

Ah, I see what you're saying. I think you're saying that the guix
package (defined in gnu/packages/package-management.scm) explicitly sets
the localstatedir to "/var", even though the default localstatedir used
in the guix build scripts winds up being "/usr/local/var", so it causes
problems. Is that right?

It looks like the decision to explicitly set localstatedir to "/var" in
the guix package was made in commit 2d195e67 by Ludo. Perhaps he can
explain what his intent was.

> My use case is building Guix, then using the Guix package in Guix. This includes
> doing things like 'guix package -i guix', 'guix environment guix', 'guix pull',
> etc. These things are required for normal and encouraged use. The only time the
> existing default would be helpful if you didn't do those things, meaning you
> always used your own build of Guix outside of the store.

I understand why you would want to do "guix environment guix" (e.g., to
get the dependencies for guix so you can build it), but I'm curious: why
would you want to do "guix package -i guix"? This is a bit of a
digression, but I'm curious to know why one might want do that.

- Chris

  reply	other threads:[~2016-02-17  9:15 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 13:57 The tricky case of "--localstatedir=/var" Jookia
2016-02-16 14:29 ` Ricardo Wurmus
2016-02-16 14:52   ` Jookia
2016-02-16 16:41   ` Andreas Enge
2016-02-16 17:12     ` Jookia
2016-02-16 17:16       ` Andreas Enge
2016-02-16 16:04 ` Tobias Geerinckx-Rice
2016-02-16 16:08   ` Tobias Geerinckx-Rice
2016-02-16 19:11 ` Christopher Allan Webber
2016-02-16 19:59 ` Danny Milosavljevic
2016-02-16 22:42   ` Mark H Weaver
2016-02-17  9:29     ` Ricardo Wurmus
2016-02-17  8:06 ` Chris Marusich
2016-02-17  8:38   ` Jookia
2016-02-17  9:15     ` Chris Marusich [this message]
2016-02-17 10:08       ` Jookia
2016-02-17 17:50         ` Chris Marusich
2016-02-17 18:00           ` Jookia
2016-02-17 18:23           ` Andreas Enge
2016-03-17 22:11 ` Ludovic Courtès
2016-03-17 22:19   ` Mathieu Lirzin
2016-03-18  1:12   ` Jookia
2016-03-18 18:45     ` Ludovic Courtès
2016-03-19  3:27       ` Jookia
2016-03-19 14: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

  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=871t8br93u.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=166291@gmail.com \
    --cc=guix-devel@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 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).