fix(guix): set FHS local state path for daemon socket

This commit is contained in:
vxtls 2026-03-08 19:37:19 -04:00
parent 49537b4100
commit aa72935a6f
3 changed files with 9 additions and 3 deletions

View file

@ -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