home-services: symlink-manager: Properly handle 1st generation case.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
This commit is contained in:
parent
833a78b16c
commit
990e1e0af5
|
@ -102,7 +102,7 @@ (define ((file-tree-traverse preordering) node)
|
||||||
(number->string (current-time))
|
(number->string (current-time))
|
||||||
"-guix-home-legacy-configs-backup"))
|
"-guix-home-legacy-configs-backup"))
|
||||||
|
|
||||||
(old-tree (if (file-exists? old-home)
|
(old-tree (if old-home
|
||||||
((simplify-file-tree "")
|
((simplify-file-tree "")
|
||||||
(file-system-tree
|
(file-system-tree
|
||||||
(string-append old-home "/files/.")))
|
(string-append old-home "/files/.")))
|
||||||
|
|
Loading…
Reference in a new issue