Ensure you have `fzf' installed and Guix is set up with your preferred channel configuration.
guix pull -C channels.scm -p ~/.guix-extra-profiles/gn-machines --allow-downgrades guix pull -C channels.scm -p ~/.guix-extra-profiles/gn-machines-shepherd-upgrade --allow-downgrades
. ,choose-profile
This script lets you interactively select a profile using `fzf':
#!/bin/env sh export GUIX_PROFILE="$(guix package --list-profiles | fzf --multi)" . "$GUIX_PROFILE/etc/profile" hash guix echo "Currently using: $GUIX_PROFILE"
guix describe
cd gn-machines git pull
./genenetwork-development-deploy.sh
sudo systemctl restart genenetwork-development-container
Manually confirm that the intended changes were applied correctly.
To enter the running container shell, ensure you're using the *parent* PID of the `shepherd' process.
Use this command to locate the correct container parent process:
ps -u root -f --forest | grep -A4 '/usr/local/bin/genenetwork-development-container' | grep shepherd
Replace `46804' with your actual parent PID:
sudo /home/bonfacem/.config/guix/current/bin/guix container exec 46804 \ /gnu/store/m6c5hgqg569mbcjjbp8l8m7q82ascpdl-bash-5.1.16/bin/bash \ --init-file /home/bonfacem/.guix-profile/etc/profile --login