diff options
Diffstat (limited to 'guix/profiles.scm')
-rw-r--r-- | guix/profiles.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm index 5ceba25def..d62674923f 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -464,9 +464,13 @@ MANIFEST. Single-file bundles are required by programs such as Git and Lynx." (string-append result "/ca-certificates.crt"))))) - (gexp->derivation "ca-certificate-bundle" build - #:modules '((guix build utils)) - #:local-build? #t)) + ;; Don't depend on 'glibc-utf8-locales' and its dependencies when there's + ;; nothing to do. + (if (null? (manifest-entries manifest)) + (gexp->derivation "ca-certificate-bundle" #~(mkdir #$output)) + (gexp->derivation "ca-certificate-bundle" build + #:modules '((guix build utils)) + #:local-build? #t))) (define* (profile-derivation manifest #:key |