Channels definition:
guix describe --format='channels' > guix-env/channels.scm
Manifest:
(specifications->manifest '("guile" "guile-fibers" "guile-json" "guile-fslib"))
Bash script for activating the environment:
#!/usr/bin/env bash
set -Eeuxo pipefail
DIR=$(dirname "$(readlink -f "${0}")")
guix time-machine \ --channels="${DIR}/channels.scm" -- \ environment \ --manifest="${DIR}/manifest.scm"