(lambda()
`((task . ("maak-deploy"))
(project . "heks-linux")
(branch-name . "trunk")
(clone-url . "https://github.com/jjba23/heks-linux.git")))starting new job...
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
exit 1
fi
if ! cd "$dir"; then
echo "byggsteg: cannot enter the clone $dir" >&2
exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
break
fi
if [ "$attempt" -ge 3 ]; then
echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
exit 1
fi
echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
sleep $((attempt * 2))
attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
echo "byggsteg: $branch was already at $after"
else
echo "byggsteg: $branch moved from $before to $after"
fi
byggsteg: trunk was already at 8aa15a8Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
commit 8aa15a8936d1cad20bb9aa52cab60634ea98a51d
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Sat Nov 28 14:05:58 2026 +0100
feat(image): both media carry the session's surfaces, not two of them
The Void medium carried the tiling session's configuration, the terminal's and
the shell's - the three files a first login cannot do without - and left the
rest to `heks-setup`, which needs a network and a store. The prompt offers a
second session, the session starts notifications and a dock, and every window
is painted by the toolkit: a machine whose medium carried only the first three
opened labwc with no keybindings, showed mako's default box, drew GTK in
Adwaita, and started a dock with no shelf of its own.
`install-image-home!` now renders labwc's five files, mako's configuration, GTK
3's and 4's settings, the two dconf writers the session runs, and the dock's
definition and styles beside the ones it already rendered - each into the
payload home by parameterizing the module's own directory, so one renderer
writes them as it writes everything else. They are named in
`image-required-paths` and in `image-rendered-paths`: the build refuses a
payload without them, and `heks-setup` refuses a render that stopped at the
tiling session. `waybar`, `rofi` and `mako` are required commands, so a medium
without the fallbacks - a session with no bar and no message - fails its own
check instead of booting.
The Debian medium had no home at all: it carried the tools and the packages and
left the desktop to a render that needs Guix first. The same renderer now
writes the same home into `config/includes.chroot`, and the setup script copies
it into the account before the network phase - the phase where an offline
machine stops - with `cp -an`, so a file the account already has is never
overwritten by the medium's first set. A Debian installed from it is a desktop
before a store answers.
Both media already carried whelk and lambdock as their own packages: `maak
image` builds `dist/xbps` and `maak image-debian` builds `dist/deb` when they
are missing, and the two recipes install them into the target.
Tested: `maak image-check` and `maak image-debian-check` parse every rendered
script, the rendered Void payload carries all thirty files, and the Debian
description carries the home. `maak ci` is green - 48 files, 122 suites, 648
tests and 2439 assertions, the 487-finding lint budget, formatting, compile and
the API reference included.
🤖 Generated with [ECA](https://eca.dev)
Co-Authored-By: eca-agent <git@eca.dev>
M docs/debian-image.org
M docs/void-image.org
M src/heks-linux/image.scm
M src/heks-linux/image/debian.scm
M test/veritas/unit/image-debian-spec.scm
M test/veritas/unit/image-spec.scm-------------------------------------------------------------- Maak 1.0.0: the infinitely extensible command runner Loading tasks from: /etc/byggsteg/job-clone/heks-linux/trunk/maak.scm Executing Maak tasks: deploy -------------------------------------------------------------- => Running Maak task: deploy Publish the API reference to the web directory. `maak docs' builds the reference and can put it nowhere a reader reaches; this is the copy that makes https://jointhefreeworld.org/api-docs/heks-linux/index.html - the link at the top of the README, and the bar's right click - the page dokgen just wrote rather than whatever was there when somebody last remembered to copy it. CI runs it on every push to trunk, in the job that follows the gates, and that job lands on the machine that serves the site: a Byggsteg job runs its tasks where the daemon runs, which is where /srv/http is, so the copy is the publication rather than a write into a container that is thrown away. The directory is emptied first, so a module that was renamed does not leave a page on the server beside the one that replaced it, and the build is removed afterwards: what the tree keeps is the source. removed 'doc/api/diagrams/heks-linux_surface-31117102.mmd' removed directory 'doc/api/diagrams' removed 'doc/api/index.texi' removed 'doc/api/dokgen.css' removed 'doc/api/dokgen.js' removed 'doc/api/dokgen-mermaid.js' removed directory 'doc/api' removed 'doc/api-dist/index.html' removed 'doc/api-dist/dokgen.css' removed 'doc/api-dist/dokgen.js' removed 'doc/api-dist/diagrams/heks-linux_surface-31117102.mmd' removed directory 'doc/api-dist/diagrams' removed directory 'doc/api-dist' removed directory 'doc' Execute command: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- dokgen api --destination doc/api ./src/heks-linux Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- dokgen api --destination doc/api ./src/heks-linux channels.scm:45:6: warning: channel 'jointhefreeworld' is not trusted [INFO] [2026-11-28 14:09:55 CET] load-local-overrides: Attempting override resolution for module (heks-linux user-settings) with profile 'local-settings' [INFO] [2026-11-28 14:09:55 CET] load-local-overrides: $XDG_CONFIG_HOME empty/unset, falling back to $HOME/.config [INFO] [2026-11-28 14:09:55 CET] load-local-overrides: Checking for override file at: /root/.config/heks-linux/local-settings.scm [INFO] [2026-11-28 14:09:55 CET] load-local-overrides: No override file found at /root/.config/heks-linux/local-settings.scm. Skipping. API documentation saved to doc/api mkdir: created directory 'doc/api-dist' Execute command: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- texi2any -v --html --no-split --css-ref=https://jointhefreeworld.org/static/css/jointhefreeworld.css -I doc/api -c 'EXTRA_HEAD=<link rel="stylesheet" href="dokgen.css"><script src="dokgen.js" defer></script>' -o doc/api-dist/index.html ./doc/api/index.texi Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- texi2any -v --html --no-split --css-ref=https://jointhefreeworld.org/static/css/jointhefreeworld.css -I doc/api -c 'EXTRA_HEAD=<link rel="stylesheet" href="dokgen.css"><script src="dokgen.js" defer></script>' -o doc/api-dist/index.html ./doc/api/index.texi channels.scm:45:6: warning: channel 'jointhefreeworld' is not trusted index.texi: warning: must specify a title with a title command or @top Execute command: cp -r -f -v doc/api/dokgen.css doc/api-dist 'doc/api/dokgen.css' -> 'doc/api-dist/dokgen.css' Execute command: cp -r -f -v doc/api/dokgen.js doc/api-dist 'doc/api/dokgen.js' -> 'doc/api-dist/dokgen.js' Execute command: cp -r -f -v doc/api/diagrams doc/api-dist 'doc/api/diagrams' -> 'doc/api-dist/diagrams' 'doc/api/diagrams/heks-linux_surface-31117102.mmd' -> 'doc/api-dist/diagrams/heks-linux_surface-31117102.mmd' publishing doc/api-dist to /srv/http/jointhefreeworld.org/api-docs/heks-linuxremoved '/srv/http/jointhefreeworld.org/api-docs/heks-linux/index.html' removed '/srv/http/jointhefreeworld.org/api-docs/heks-linux/dokgen.css' removed '/srv/http/jointhefreeworld.org/api-docs/heks-linux/dokgen.js' removed '/srv/http/jointhefreeworld.org/api-docs/heks-linux/diagrams/heks-linux_surface-31117102.mmd' removed directory '/srv/http/jointhefreeworld.org/api-docs/heks-linux/diagrams' removed directory '/srv/http/jointhefreeworld.org/api-docs/heks-linux' 'doc/api-dist' -> '/srv/http/jointhefreeworld.org/api-docs/heks-linux' 'doc/api-dist/index.html' -> '/srv/http/jointhefreeworld.org/api-docs/heks-linux/index.html' 'doc/api-dist/dokgen.css' -> '/srv/http/jointhefreeworld.org/api-docs/heks-linux/dokgen.css' 'doc/api-dist/dokgen.js' -> '/srv/http/jointhefreeworld.org/api-docs/heks-linux/dokgen.js' 'doc/api-dist/diagrams' -> '/srv/http/jointhefreeworld.org/api-docs/heks-linux/diagrams' 'doc/api-dist/diagrams/heks-linux_surface-31117102.mmd' -> '/srv/http/jointhefreeworld.org/api-docs/heks-linux/diagrams/heks-linux_surface-31117102.mmd' removed 'doc/api/diagrams/heks-linux_surface-31117102.mmd' removed directory 'doc/api/diagrams' removed 'doc/api/index.texi' removed 'doc/api/dokgen.css' removed 'doc/api/dokgen.js' removed 'doc/api/dokgen-mermaid.js' removed directory 'doc/api' removed 'doc/api-dist/index.html' removed 'doc/api-dist/dokgen.css' removed 'doc/api-dist/dokgen.js' removed 'doc/api-dist/diagrams/heks-linux_surface-31117102.mmd' removed directory 'doc/api-dist/diagrams' removed directory 'doc/api-dist' removed directory 'doc'