Hi, "Reza Alizadeh Majd" <r.m...@pantherx.org> skribis:
> the problem is that some of these skeletons are located in sub-directories, > for > example `~/.local/share/foo/bar.cfg`. and when I run `guix system reconfigure` > I receive errors about missing parent directory (`~/.local/share/foo` in this > example). > > is there any way to create parent directories before copying the skeleton > files? I think you can do something like: (define dot-config (compute-file "dot-config-skeleton" #~(begin (mkdir #$output) (mkdir (string-append #$output "/guix")) …))) and then add it in the list of skeletons like so: `(… (".config" ,dot-config)) Does that make sense? Ludo’.