|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on guix. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://anggtwu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://anggtwu.net/e/guix.e> # or at <http://anggtwu.net/e/guix.e.html>. # See also <http://anggtwu.net/emacs.html>, # <http://anggtwu.net/.emacs[.html]>, # <http://anggtwu.net/.zshrc[.html]>, # <http://anggtwu.net/escripts.html>, # and <http://anggtwu.net/>. # ####### # «.delete» (to "delete") # «.install» (to "install") # «.guix-profile» (to "guix-profile") # «.manual» (to "manual") # (find-fline "~/LOGS/2025dec07.guix" "(find-einsert ") # (find-fline "~/LOGS/2025dec08.guix" "and mention your guix package") # (find-eev-install-intro "5.2. With `package-vc-install'") # (find-eev-install-intro "5.5. With Guix") # (find-eev-install-intro "5.6. A note about read-onlyness") # http://anggtwu.net/eev-intros/find-eev-install-intro.html#5.5 https://lab.abilian.com/Tech/Linux/Packaging/Guix%20vs.%20Nix/ https://mail.google.com/mail/u/0/#inbox/FMfcgzQdzmQRGGwXpLQvVjgLtSXFNMxK https://guix.gnu.org/manual/devel/en/html_node/Installation.html https://guix.gnu.org/manual/devel/en/html_node/Binary-Installation.html # (find-angg ".emacs" "guix") # /dev/sda4 on /gnu/store type ext4 (ro,relatime,errors=remount-ro) ##### # # delete # 2026aug15 # ##### # «delete» (to ".delete") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) sudo du -ch /gnu/store/ sudo du -ch /var/guix/ sudo rm -Rf /gnu/store/ sudo rm -Rf /var/guix/ sudo rm -Rf /usr/local/bin/guix ##### # # install # 2026aug15 # ##### # «install» (to ".install") # (find-angg ".emacs" "guix") # (find-es "nix" "single-user") # (find-guixnode "") # (find-guixnode "Installation") # (find-guixnode "Binary Installation") # (find-guixnode "") # (find-sh "find /etc | grep -i guix") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) rm -Rv /tmp/guix/ mkdir /tmp/guix/ cd /tmp/guix/ wget https://guix.gnu.org/guix-install.sh # (find-fline "/tmp/guix/guix-install.sh") cd /tmp/guix/ chmod +x guix-install.sh sudo ./guix-install.sh guix guix --help guix package --help guix package -l guix # (find-sh "guix --help") # (find-sh "guix package --help") # (code-c-d "guixs" "/gnu/store/") # (code-c-d "guixv" "/var/guix/") # (find-guixsfile "") # (find-guixvfile "") # (find-guixvsh "find * | sort") * (eepitch-manual) * (eepitch-kill) * (eepitch-manual) # (find-guixssh "find * | grep info") # (find-guixssh "find * | grep 'guix\\.info\\.gz'") # [1786838178.477]: [ PASS ] enabled Guix daemon via systemd # [1786838178.478]: [ INFO ] making the guix command available to other users ##### # # guix-profile # 2026aug15 # ##### # «guix-profile» (to ".guix-profile") # (setenv "GUIX_PROFILE" nil) # (setenv "GUIX_PROFILE" "/var/guix/profiles/per-user/edrx/current-guix") * (eepitch-bash) * (eepitch-kill) * (eepitch-bash) w guix guix . $GUIX_PROFILE/etc/profile guix guix package -l # (find-status "guix") # (find-vldifile "guix.list") # (find-udfile "guix/") # (find-sh "locate guix") # (find-fline "/usr/local/bin/") # (find-fline "/usr/local/bin/guix") # (find-fline "/var/guix/profiles/per-user/edrx/") # (find-fline "/var/guix/profiles/per-user/edrx/guix-profile") export GUIX_PROFILE=/var/guix/profiles/per-user/root/current-guix export GUIX_PROFILE=/var/guix/profiles/per-user/edrx/current-guix . $GUIX_PROFILE/etc/profile ls -lAF $GUIX_PROFILE/bin/ echo $PATH | tr : '\n' guix guix --help guix package -l R guix package -l # (find-fline "/var/guix/profiles/per-user/root/current-guix/etc/profile") . /var/guix/profiles/per-user/root/current-guix/etc/profile # (find-fline "~/LOGS/2026aug15.guix" "/home/perry/.config/guix/current/bin/guix") GUIX_PROFILE=/path/to/profile ; \ # source /path/to/profile/etc/profile # (find-fline "/var/guix/profiles/per-user/root/current-guix/etc/profile") (code-c-d "guixinfo" "/gnu/store/ganla421f3g1p9rh3r68zj9djc9b807m-guix-1.5.0/share/info/") ;; (find-guixinfofile "") # (find-guixvgrep "grep --color=auto -nRH --null -e GUIX_ENVIRONMENT *") # (find-guixsgrep "grep --color=auto -nRH --null -e GUIX_ENVIRONMENT *") # (find-guixsgrep "grep --color=auto -nRH --null -e GUIX_ENVIRONMENT * | grep -a -v 'binary file matches'") # (find-guixsgrep "grep --color=auto -nRH --null -e GUIX_ENVIRONMENT * | grep -a -v matches") # (find-fline "/gnu/store/1hjkcmzrcb0d2sf9afkmyx1pcvln97ss-profile/share/info/") # (find-fline "/gnu/store/1hjkcmzrcb0d2sf9afkmyx1pcvln97ss-profile/share/info/") ##### # # manual # 2026aug15 # ##### # «manual» (to ".manual") # (add-to-list 'Info-additional-directory-list "/gnu/store/1hjkcmzrcb0d2sf9afkmyx1pcvln97ss-profile/share/info/") # (find-node "(guix)") # (find-node "(guix)Installation") # (find-node "(guix)Binary Installation") https://guix.gnu.org/manual/devel/en/html_node/index.html (find-angg ".emacs" "guix") (add-to-list 'Info-additional-directory-list "~/info") # (find-fline "/tmp/guix/") # (find-fline "/tmp/guix/") # (find-angg ".bashrc" "guix") * (eepitch-bash) * (eepitch-kill) * (eepitch-bash) # (find-fline "/gnu/store/") # (find-fline "/var/guix/") rm -Rfv /gnu/store/ # (find-fline "/var/guix/") Install AppArmor profile that might be required to run guix-daemon? [Y/n] # Local Variables: # coding: utf-8-unix # End: