Hi. I am a GUIX noob, having installed my first GUIX system just a
week ago. Following the Guix info manual, I tried to create a new home
environment and test it in a container. I did a "guix home build"
first and then This is the error I get
mbkamble@kamble9343guix ~/tmp [127]> guix home --debug=3 --verbosity=3
container test-guix-home-2/home-configuration.scm
WARNING: (guile-user): imported module (guix build utils) overrides
core binding `delete'
Symlinking /home/mbkamble/.profile ->
/gnu/store/dann7r1095xll0kji5yl0ql07096rc8j-shell-profile... done
Symlinking /home/mbkamble/.bashrc ->
/gnu/store/0hblljbzbbrbawhcv2hlz14narb78s2m-bashrc... done
Symlinking /home/mbkamble/.bash_profile ->
/gnu/store/sb379rxjbns1cgy16z0kbm1rwravkyx5-bash_profile... done
Symlinking /home/mbkamble/.config/fontconfig/fonts.conf ->
/gnu/store/4261pxafny0g2myhh9yj1771ry7k05lc-fonts.conf... done
done
Finished updating symlinks.
Comparing /gnu/store/non-existing-generation/profile/share/fonts and
/gnu/store/j5cw6c311v9m2jq80x26a281brfx77ad-home/profile/share/fonts...
done (same)
Evaluating on-change gexps.
On-change gexps evaluation finished.
error: Runtime path not available.
error: Try deleting the directory /tmp/fish.mbkamble and restarting fish.
/gnu/store/d99ykvj3axzzidygsmdmzxah4lvxd6hw-bash-5.1.8/bin/bash: line
1: /etc/profile: No such file or directory
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
mbkamble@kamble9343guix ~> echo $PATH
/gnu/store/4p051jj8fgcir594fg13qddm0zr873vb-home-system-profile/bin
mbkamble@kamble9343guix ~>
As seen, the PATH is not setup correctly. There are also a couple of
error messages. I have attached my home-configuartion.scm (which
itself was generated from "guix home import test-guix-home-2"). I am
also attaching my ~/.guix/system.scm
Thanks,
Milind Kamble
On 2022-04-14 16:33, Mbk Kamble wrote:
> Hi. I am a GUIX noob, having installed my first GUIX system just a
> week ago. Following the Guix info manual, I tried to create a new home
> environment and test it in a container. I did a "guix home build"
> first and then This is the error I get
Hi. Guix Home is a part of Guix project now and its better to report to
related mailing list. Can you send the report to bug-guix, please?
Also, there are probably much more people on bug-guix@gnu.org, who can
help. I also check some reports on bug-guix from time to time, so if
nobody will respond in a reasonable time, I'll take a look.
>
> mbkamble@kamble9343guix ~/tmp [127]> guix home --debug=3 --verbosity=3
> container test-guix-home-2/home-configuration.scm
> WARNING: (guile-user): imported module (guix build utils) overrides
> core binding `delete'
> Symlinking /home/mbkamble/.profile ->
> /gnu/store/dann7r1095xll0kji5yl0ql07096rc8j-shell-profile... done
> Symlinking /home/mbkamble/.bashrc ->
> /gnu/store/0hblljbzbbrbawhcv2hlz14narb78s2m-bashrc... done
> Symlinking /home/mbkamble/.bash_profile ->
> /gnu/store/sb379rxjbns1cgy16z0kbm1rwravkyx5-bash_profile... done
> Symlinking /home/mbkamble/.config/fontconfig/fonts.conf ->
> /gnu/store/4261pxafny0g2myhh9yj1771ry7k05lc-fonts.conf... done
> done
> Finished updating symlinks.
>
> Comparing /gnu/store/non-existing-generation/profile/share/fonts and
> /gnu/store/j5cw6c311v9m2jq80x26a281brfx77ad-home/profile/share/fonts...
> done (same)
> Evaluating on-change gexps.
>
> On-change gexps evaluation finished.
>
> error: Runtime path not available.
> error: Try deleting the directory /tmp/fish.mbkamble and restarting fish.
> /gnu/store/d99ykvj3axzzidygsmdmzxah4lvxd6hw-bash-5.1.8/bin/bash: line
> 1: /etc/profile: No such file or directory
> Welcome to fish, the friendly interactive shell
> Type help for instructions on how to use fish
> mbkamble@kamble9343guix ~> echo $PATH
> /gnu/store/4p051jj8fgcir594fg13qddm0zr873vb-home-system-profile/bin
> mbkamble@kamble9343guix ~>
>
> As seen, the PATH is not setup correctly. There are also a couple of
> error messages. I have attached my home-configuartion.scm (which
> itself was generated from "guix home import test-guix-home-2"). I am
> also attaching my ~/.guix/system.scm
>
> Thanks,
> Milind Kamble
> (use-modules (gnu) (nongnu packages linux))
> (use-service-modules
> cups
> desktop
> networking
> ssh
> xorg)
> (use-package-modules shells) ;; tmux gnupg python fonts graphviz wget binutils image-viewers)
>
> (define %xorg-libinput-config
> "Section \"InputClass\"
> Identifier \"Touchpads\"
> Driver \"libinput\"
> MatchDevicePath \"/dev/input/event*\"
> MatchIsTouchpad \"on\"
>
> Option \"Tapping\" \"on\"
> Option \"TappingDrag\" \"on\"
> Option \"DisableWhileTyping\" \"on\"
> Option \"MiddleEmulation\" \"on\"
> Option \"ScrollMethod\" \"twofinger\"
> EndSection
> Section \"InputClass\"
> Identifier \"Keyboards\"
> Driver \"libinput\"
> MatchDevicePath \"/dev/input/event*\"
> MatchIsKeyboard \"on\"
> EndSection
> ")
>
> (operating-system
>
> (kernel linux)
> (firmware (list linux-firmware))
> (locale "en_US.utf8")
> (timezone "America/Chicago")
> (keyboard-layout (keyboard-layout "us"))
> (host-name "kamble9343guix")
>
> (users (cons* (user-account
> (name "mbkamble")
> (comment "Milind Kamble")
> (group "users")
> (home-directory "/home/mbkamble")
> (shell (file-append fish "/bin/fish"))
> (supplementary-groups
> '("wheel" "netdev" "audio" "video" "lp")))
> (user-account
> (name "tester1")
> (comment "Tester Kamble")
> (group "users")
> (home-directory "/home/tester1")
> (shell (file-append fish "/bin/fish"))
> (supplementary-groups
> '("wheel" "netdev" "audio" "video" "lp")))
> %base-user-accounts))
>
> (packages
> (append
> (list
> ;; emacs
> (specification->package "emacs")
> (specification->package "emacs-exwm")
> (specification->package "emacs-desktop-environment")
> ;; system tools
> (specification->package "nss-certs")
> ;; Xorg
> (specification->package "libinput")
> )
> %base-packages))
>
> (services
> (append
> (list (service gnome-desktop-service-type)
> (service openssh-service-type)
> (service cups-service-type)
> (set-xorg-configuration
> (xorg-configuration
> (keyboard-layout keyboard-layout)
> (extra-config (list %xorg-libinput-config)))))
> %desktop-services))
>
> (bootloader
> (bootloader-configuration
> (bootloader grub-efi-bootloader)
> (targets (list "/boot/efi"))
> (keyboard-layout keyboard-layout)))
>
> (swap-devices
> (list (swap-space
> (target
> (uuid "db35b3c6-8f65-41a9-91af-e8c0bdb28fad")))))
>
> (mapped-devices
> (list (mapped-device
> (source
> (uuid "52820bd7-9b0a-419c-a744-357943b252c2"))
> (target "home")
> (type luks-device-mapping))
> (mapped-device
> (source
> (uuid "6ec1485e-0424-406e-848f-9f2334159da8"))
> (target "guixroot")
> (type luks-device-mapping))))
>
> (file-systems
> (cons* (file-system
> (mount-point "/home")
> (device "/dev/mapper/home")
> (type "ext4")
> (dependencies mapped-devices))
> (file-system
> (mount-point "/")
> (device "/dev/mapper/guixroot")
> (type "ext4")
> (dependencies mapped-devices))
> (file-system
> (mount-point "/boot/efi")
> (device (uuid "24D8-3A48" 'fat32))
> (type "vfat"))
> %base-file-systems))
>
> )
> ;; This "home-environment" file can be passed to 'guix home reconfigure'
> ;; to reproduce the content of your profile. This is "symbolic": it only
> ;; specifies package names. To reproduce the exact same profile, you also
> ;; need to capture the channels being used, as returned by "guix describe".
> ;; See the "Replicating Guix" section in the manual.
>
> (use-modules
> (gnu home)
> (gnu packages)
> (gnu services)
> (guix gexp)
> (gnu home services shells))
>
> (home-environment
> (packages
> (map (compose list specification->package+output)
> (list "git-minimal"
> "glibc-locales"
> "mercurial"
> "perl-image-exiftool"
> "dmidecode"
> "emacs-lispy@0"
> "emacs"
> "emacs-guix@0"
> "emacs-geiser-guile@0"
> "guile"
> "emacs-geiser@0"
> "graphviz"
> "ungoogled-chromium"
> "qutebrowser"
> "lshw"
> "rsync"
> "binutils"
> "sxiv"
> "ripgrep"
> "emacs-magit@3"
> "pinentry-gnome3"
> "gnupg"
> "icecat"
> "mps-youtube"
> "mpv"
> "youtube-viewer"
> "fish"
> "python")))
> (services
> (list (service
> home-bash-service-type
> (home-bash-configuration
> (aliases
> '(("grep" . "grep --color=auto")
> ("ll" . "ls -l")
> ("ls" . "ls -p --color=auto")))
> (bashrc
> (list (local-file ".bashrc" "bashrc")))
> (bash-profile
> (list (local-file
> ".bash_profile"
> "bash_profile"))))))))
--
Best regards,
Andrew Tropin