mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
system: skeleton-directory: Create parent directory for target.
This allows specifying the following skeleton, for example: --8<---------------cut here---------------start------------->8--- `((".config/test.txt" ,[...]) --8<---------------cut here---------------end--------------->8--- * gnu/system/shadow.scm (skeleton-directory): Create parent directory for target. Change-Id: I49649000bd6cdab9060f057b47a5122b17027f10
This commit is contained in:
parent
c1aa13841d
commit
d9ea94dc44
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ home-config"))
|
|||
;; would just copy the symlinks as is.
|
||||
(for-each (match-lambda
|
||||
((target source)
|
||||
(mkdir-p (dirname target))
|
||||
(copy-recursively source target)))
|
||||
'#$skeletons)
|
||||
;; Make nanorc respect XDG_CONFIG_HOME.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue