[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are Guix and its install script incompatible with guix pack on purpo
From: |
Ricardo Wurmus |
Subject: |
Re: Are Guix and its install script incompatible with guix pack on purpose? |
Date: |
Thu, 24 Feb 2022 19:58:00 +0100 |
User-agent: |
mu4e 1.6.10; emacs 28.0.50 |
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