Created
May 5, 2021 11:59
-
-
Save sogaiu/40b063ffc6ab8135bb247e019cb5ca50 to your computer and use it in GitHub Desktop.
guix setup notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# instructions based on system crafters | |
# inside an ubuntu system (or any systemd-based system?) | |
cd /tmp | |
wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh | |
chmod +x guix-install.sh | |
sudo ./guix-install.sh | |
wget "https://sv.gnu.org/people/viewgpg.php?user_id=127547" -qO - | sudo -i gpg --import - | |
wget "https://sv.gnu.org/people/viewgpg.php?user_id=15145" -qO - | sudo -i gpg --import - | |
sudo ./guix-install.sh | |
info guix | |
guix install emacs | |
# edit ~/.profile to contain | |
GUIX_PROFILE="/home/user/.guix-profile" | |
. "$GUIX_PROFILE/etc/profile" | |
guix pull | |
# unlike in the video, there was no output about more additions to .profile | |
# again | |
guix pull | |
# what has changed | |
guix pull --news | |
guix upgrade | |
# coping with locales-related warnings (one-time) | |
sudo guix install glibc-locales | |
# edit root's .profile to contain GUIX_LOCPATH=$HOME/.guix-profile/lib/locale | |
sudo vi /root/.profile | |
# update root user's guix profile periodically | |
sudo -i guix pull | |
sudo -i guix pull --news | |
sudo systemctl restart guix-daemon.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment