diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/services.scm b/gnu/services.scm index 056bb2a1c9..1ad573787f 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -291,7 +291,12 @@ file." (chdir #$output) #$@(map (match-lambda ((target source) - #~(symlink #$source #$target))) + #~(begin + ;; Stat the source to abort early if it + ;; does not exist. + (stat #$source) + + (symlink #$source #$target)))) files)))) (define (directory-union name things) |