summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-22 15:35:36 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-22 19:23:57 +0200
commit416f7f4f144569fa66772e0cf43cf785d9a408af (patch)
tree29b99245758081b592fb3d4f3eed487d679757df
parent2e37d1583a25fa824e6c4674cdc35994ec8091a7 (diff)
downloadguix-416f7f4f144569fa66772e0cf43cf785d9a408af.tar.gz
profiles: Add #:name parameter to 'profile-derivation'.
* guix/profiles.scm (profile-derivation): Add #:name and pass it to
'gexp->derivation'.
-rw-r--r--guix/profiles.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 47a7c92569..88606fa4ce 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -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