guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: profiles: 'profile-derivation' sets a 'type' property.


From: guix-commits
Subject: 02/03: profiles: 'profile-derivation' sets a 'type' property.
Date: Thu, 26 Mar 2020 08:07:29 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e7570ec2da04af83eba695ded92eb824172b15c3
Author: Ludovic Courtès <address@hidden>
AuthorDate: Thu Mar 26 12:25:37 2020 +0100

    profiles: 'profile-derivation' sets a 'type' property.
    
    * guix/profiles.scm (profile-derivation): Pass #:properties to
    'gexp->derivation'.
---
 guix/profiles.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/guix/profiles.scm b/guix/profiles.scm
index 20a2973..3a64989 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1590,7 +1590,13 @@ are cross-built for TARGET."
                       ;; Disable substitution because it would trigger a
                       ;; connection to the substitute server, which is likely
                       ;; to have no substitute to offer.
-                      #:substitutable? #f)))
+                      #:substitutable? #f
+
+                      #:properties `((type . profile)
+                                     (profile
+                                      (count
+                                       . ,(length
+                                           (manifest-entries manifest))))))))
 
 (define* (profile-search-paths profile
                                #:optional (manifest (profile-manifest profile))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]