Hi,

I'd like to create a symlink to a store object somewhere in my home-directory and register this symlink as a root, to avoid the garbage collector removes the store object.

How can I achieve this with existing guix means?

Background: Vagrant has the means of distributing virtual machines as "boxes", tar.gz files which are downloaded and then extracted into some cache directory. When Vagrant creates a virtual machine based on that box, it copies the disk-image to some working directory. The cache content is (almost) trivial, thus I wrote a small script creating the required files in the cache directory and sym-linking the disk-image there. Of course, the garbage collector should not remove the disk-image a long as it is used (= linked from the box cache).

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |