unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Cc: help-guix@gnu.org
Subject: Re: Are Guix and its install script incompatible with guix pack on purpose?
Date: Thu, 24 Feb 2022 19:58:00 +0100	[thread overview]
Message-ID: <87sfs88517.fsf@elephly.net> (raw)
In-Reply-To: <20220224181950.38ea05de@primarylaptop.localdomain>


Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> writes:

> [[PGP Signed Part:Undecided]]
> Hi,
>
> In the installation script we have:
>> if [[ -e "/var/guix" || -e "/gnu" ]]; then
>>     _err "${ERR}A previous Guix installation was found. [...]
>>     exit 1
>> fi
>> [...]
>> mv "${tmp_path}/gnu" /
>
> Guix pack also install its files in /gnu, so if we somehow installed
> something built with guix pack we can't install Guix anymore.
>
> I've no idea why it's done in this way though as the git history
> doesn't tell and there is no comments either. 
>
> Is installing software made with Guix pack incompatible with Guix on
> purpose?

No.

“guix pack -RR” lets you unpack the archive wherever you want, so you
may want to use that.

You cannot have a /gnu/store directory managed by Guix *and also* place
whatever you want there.  When Guix manages /gnu/store it will remove
things that it doesn’t know about.

-- 
Ricardo


      reply	other threads:[~2022-02-24 19:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-24 17:19 Are Guix and its install script incompatible with guix pack on purpose? Denis 'GNUtoo' Carikli
2022-02-24 18:58 ` Ricardo Wurmus [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=87sfs88517.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=GNUtoo@cyberdimension.org \
    --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).