Am Sonntag, dem 23.07.2023 um 12:51 +0200 schrieb Hartmut Goebel: > 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? (guix store) has
(define-operation (add-indirect-root (string file-name)) "Make the symlink FILE-NAME an indirect root for the garbage collector: whatever store item FILE-NAME points to will not be collected. Return #t on success. FILE-NAME can be anywhere on the file system, but it must be an absolute file name--it is the caller's responsibility to ensure that it is an absolute file name." boolean) Hope that helps. Cheers