Hi Laurence,
Laurence Rochfort <laurence.rochf...@gmail.com> writes:
Hello all,
I recently started using a home profile, and have been using
"guix
home reconfigure" after making changes; chiefly to add new
packages.
However, I cannot figure out how to upgrade packages without
doing a
"guix home reconfigure"
I believe this is one of the things you trade off with Guix Home’s
transactional, declarative design. As with the operating-system
configuration in Guix, changing anything in your home
configuration -- including upgrading packages -- requires a `guix
home reconfigure'.
I tried the following, but it doesn't work:
$ guix upgrade -p ~/.guix-home/profile
guix upgrade: error: open-file: Read-only file system:
"/home/laurence/.guix-home/profile.lock"
$ guix package -p ~/.guix-home/profile -u
guix package: error: open-file: Read-only file system:
"/home/laurence/.guix-home/profile.lock"
Your Guix Home profile is a store item, which means ~/.guix-home
is a symlink into the store, which is read-only.
Any suggestions would be much appreciated.
Guix Home is a declarative system for managing your home profile &
packages, and as such, doesn’t support the ad-hoc/imperative
workflow you’re trying to use. If that workflow is important to
you, Guix Home won’t be a good fit. Perhaps you can manage your
configuration with Guix Home, and your packages separately? I’ve
never tried this, but I assume it ought to work.
-- Ian