summary refs log tree commit diff
path: root/m4
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-14 10:31:52 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-02-17 02:55:43 +0100
commit23d56ba150ddeaa58e96b3ecf9df251fbd05ed00 (patch)
treef5156c32c74ef5ac3292039c98772b4ac6949a7f /m4
parent28bd26b6b8245c71bc474237b24498caa832cc25 (diff)
downloadguix-23d56ba150ddeaa58e96b3ecf9df251fbd05ed00.tar.gz
guix-install.sh: Add GUIX_ALLOW_OVERWRITE environment variable.
The need for this use case appeared when attempting to install Guix on a truly
minimal image made with Buildroot, which lacked enough GNU components that I
had to extract a guix pack to /gnu before attempting installation, which would
then refuse to proceed because of the existing /gnu.

* etc/guix-install.sh: Document environment variables.
(sys_create_store) [GUIX_ALLOW_OVERWRITE]: Skip pre-existing installation
checks and output a warning.  Extract the tarball directly to /.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions