diff --git a/guix/gexp.scm b/guix/gexp.scm index 9ce6810172b..811cf02a533 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -1586,7 +1586,7 @@ to the source files instead of copying them." (define file-pair (match-lambda ((final-path . (? string? file-name)) - (mlet %store-monad ((file (interned-file file-name + (mlet %store-monad ((file (interned-file (readlink* file-name) (basename final-path)))) (return (list final-path file)))) ((final-path . file-like)