profiles: Add #:name parameter to 'profile-derivation'.

* guix/profiles.scm (profile-derivation): Add #:name and pass it to
'gexp->derivation'.
This commit is contained in:
Ludovic Courtès 2020-04-22 15:35:36 +02:00
parent 2e37d1583a
commit 416f7f4f14
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -1547,6 +1547,7 @@ MANIFEST."
(define* (profile-derivation manifest (define* (profile-derivation manifest
#:key #:key
(name "profile")
(hooks %default-profile-hooks) (hooks %default-profile-hooks)
(locales? #t) (locales? #t)
(allow-collisions? #f) (allow-collisions? #f)
@ -1634,7 +1635,7 @@ are cross-built for TARGET."
#:manifest '#$(manifest->gexp manifest) #:manifest '#$(manifest->gexp manifest)
#:search-paths search-paths)))) #:search-paths search-paths))))
(gexp->derivation "profile" builder (gexp->derivation name builder
#:system system #:system system
#:target target #:target target