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
1 changed files with 2 additions and 1 deletions

View File

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