You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat a12l.scm
;; 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))
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list "fd"
"kakoune"
"ripgrep")))
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
(services
(list)))
I often get the build errors, for example
$ guix home reconfigure a12l.scm
guix home: warning: cannot determine provenance for current system
guix home: warning: cannot determine provenance of GNU Guix
Cleaning up symlinks from previous home at /var/guix/profiles/per-user/a12l/guix-home.
Skipping /home/a12l/.profile (not a symlink to store)... done
guix home: error: rmdir: Device or resource busy
This problem doesn't seem to depend on the packages to install, because when I try to switch to a generation build using
$ cat a12l.scm
;; 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))
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list)))
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
(services
(list)))
I get the same error
$ guix home reconfigure a12l.scm
guix home: warning: cannot determine provenance for current system
guix home: warning: cannot determine provenance of GNU Guix
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/yl858lmxxraxbnis9ymh3k0ac4534djz-home.drv
/gnu/store/2rfsrvq5mz399vhimjab88i4hfciwj7c-profile.drv
/gnu/store/r35xd51h9sialnnh47nsppz4v41zxnb4-provenance.drv
building /gnu/store/r35xd51h9sialnnh47nsppz4v41zxnb4-provenance.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...
building /gnu/store/yl858lmxxraxbnis9ymh3k0ac4534djz-home.drv...
Cleaning up symlinks from previous home at /var/guix/profiles/per-user/a12l/guix-home.
Skipping /home/a12l/.profile (not a symlink to store)... done
guix home: error: rmdir: Device or resource busy
I've solved this problem before by a mix of operations; e.g., removing the symlinks in ~/; rebooting the computer, etc. Not sure what things got this working.
No errors when I just build the configuration
$ guix home build a12l.scm
/gnu/store/lrr2sql3p6lyqhwhc29sylkm23icgl7g-home
I've asked on #guix on libera.chat if it's possible to get more detailed error logs when running guix home reconfigure, but I haven't received any replies.
To Reproduce
Steps to reproduce the behavior:
Enter directory with my guix home configuration.
Run guix home reconfigure a12l.scm
Expected behavior
When running guix home build a12l.scm builds my new configuration and switches the current profile from the old one to the new one.
The text was updated successfully, but these errors were encountered:
This problem still occurs after removing old generations and running guix pull.
But I noticed now that the packages is actually installed. I assumed the installation was unsuccessful because of the error message, but apparently not. Still want to find a solution to the errors :)
Describe the bug
When I try to rebuild my config
I often get the build errors, for example
Currently
~/
looks like(with the irrelevant entries removed)
This problem doesn't seem to depend on the packages to install, because when I try to switch to a generation build using
I get the same error
I've solved this problem before by a mix of operations; e.g., removing the symlinks in
~/
; rebooting the computer, etc. Not sure what things got this working.No errors when I just build the configuration
I've asked on #guix on libera.chat if it's possible to get more detailed error logs when running
guix home reconfigure
, but I haven't received any replies.To Reproduce
Steps to reproduce the behavior:
guix home
configuration.guix home reconfigure a12l.scm
Expected behavior
When running
guix home build a12l.scm
builds my new configuration and switches the current profile from the old one to the new one.The text was updated successfully, but these errors were encountered: