dotfiles/.bin/update-channels

15 lines
336 B
Bash
Executable File

#!/bin/sh
GREEN='\033[1;32m'
BLUE='\033[1;34m'
NC='\033[0m'
echo
echo -e "${GREEN}Updating ${BLUE}base-channels${GREEN}...${NC}"
echo
cp -f ~/git/dotfiles/fschl/base-channels.scm ~/.config/guix/base-channels.scm
guix pull --channels=$HOME/.config/guix/base-channels.scm
guix describe --format=channels > ~/.config/guix/channels.scm