diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm index 58ccf59..a329eeb 100644 --- a/gnu/build/file-systems.scm +++ b/gnu/build/file-systems.scm @@ -378,7 +378,7 @@ corresponds to the symbols listed in FLAGS." (define (regular-file? file-name) "Return #t if FILE-NAME is a regular file." - (eq? (stat:type (stat file-name)) 'regular)) + (memq (stat:type (stat file-name)) '(regular symlink))) (define* (mount-file-system spec #:key (root "/root")) "Mount the file system described by SPEC under ROOT. SPEC must have the