mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-25 04:26:31 +01:00
fix(guix): set FHS local state path for daemon socket
This commit is contained in:
parent
49537b4100
commit
aa72935a6f
3 changed files with 9 additions and 3 deletions
|
|
@ -6,8 +6,10 @@ set -e
|
|||
. /steps/bootstrap.cfg
|
||||
. /steps/env
|
||||
|
||||
daemon_socket="/var/guix/daemon-socket/socket"
|
||||
guix_localstate_dir="/var/guix"
|
||||
daemon_socket="${guix_localstate_dir}/daemon-socket/socket"
|
||||
out_dir="/external/guix-images"
|
||||
export GUIX_DAEMON_SOCKET="${daemon_socket}"
|
||||
|
||||
if [ ! -S "${daemon_socket}" ]; then
|
||||
echo "guix-daemon socket is missing: ${daemon_socket}" >&2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue