diff options
| author | Sergey Trofimov <sarg@sarg.org.ru> | 2025-05-19 11:50:10 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-21 08:05:27 +0900 |
| commit | 11bc17c409d77cd1af91e30b5b9f6a73f873a152 (patch) | |
| tree | 6e10a22bc4f6d97c886e1ad3de07e678d6fd6918 /gnu/home | |
| parent | b989e503acc2e03a9be715da147046dd007c1ec3 (diff) | |
home: services: Build "files" union allowing dangling symlinks.
* gnu/home/services.scm (files->files-directory): Build file union
without checking for existence of included items.
* tests/guix-home.sh: Verify symlinking files out of store works.
Change-Id: I94054003f4a6be944252ce7a397cf56f0b979554
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/home')
| -rw-r--r-- | gnu/home/services.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/home/services.scm b/gnu/home/services.scm index 2342dc5e07c..d194d02fd4b 100644 --- a/gnu/home/services.scm +++ b/gnu/home/services.scm | |||
| @@ -343,7 +343,8 @@ unset GUIX_PROFILE PROFILE_FILE | |||
| 343 | ;; leading to a build failure of "files.drv". | 343 | ;; leading to a build failure of "files.drv". |
| 344 | (assert-no-duplicates files) | 344 | (assert-no-duplicates files) |
| 345 | 345 | ||
| 346 | (file-union "files" files)) | 346 | ;; Allow symlinks to locations outside the store. |
| 347 | (file-union "files" files #:dangling-symlinks? #t)) | ||
| 347 | 348 | ||
| 348 | ;; Used by symlink-manager | 349 | ;; Used by symlink-manager |
| 349 | (define home-files-directory "files") | 350 | (define home-files-directory "files") |
