services: guix: platform: linux/amd64 build: context: docker # Guix's build sandbox calls personality(ADDR_NO_RANDOMIZE) to disable # ASLR for reproducible builds. Docker's default seccomp profile denies # that specific personality() flag combination, so every `guix pull`/ # `guix system` build fails with "cannot set personality: Operation # not permitted" regardless of amd64 emulation backend (reproduces # under both Rosetta and QEMU) -- it's a seccomp restriction, not an # emulation gap. We're already trading away sandboxing here (see # entrypoint.sh's --disable-chroot), so drop seccomp filtering too # rather than hand-maintain an allowlist. security_opt: - seccomp:unconfined volumes: - guix-store:/gnu - guix-state:/var/guix - guix-cache:/root/.cache - .:/workspace working_dir: /workspace environment: DOMAIN_CAPS: ${DOMAIN_CAPS:-METZNET.CA} DOMAIN_NAME: ${DOMAIN_NAME:-metznet.ca} tty: true stdin_open: true volumes: guix-store: guix-state: guix-cache: