summaryrefslogtreecommitdiff
path: root/guix/profiles.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-30 21:48:51 +0200
committerLudovic Courtès <ludo@gnu.org>2020-03-31 00:06:36 +0200
commit190ddfe21e3d87719733d12fb9b5eb176125a49f (patch)
treecf15932bf9e8e99a952ae82866af14a3bb258170 /guix/profiles.scm
parentdf7bb43bd03bdf45cbc3fe4af25e4ebeb36756e4 (diff)
guix package: 'transaction-upgrade-entry' uses 'lower-manifest-entry'.
* guix/profiles.scm (lower-manifest-entry): Export. * guix/scripts/package.scm (transaction-upgrade-entry)[lower-manifest-entry*] [upgrade]: New procedures. Use 'lower-manifest-entry*' instead of 'package-derivation' to compute the output file name of PKG.
Diffstat (limited to 'guix/profiles.scm')
-rw-r--r--guix/profiles.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm
index ad9878f370..1362c4092a 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -87,6 +87,7 @@
manifest-entry-search-paths
manifest-entry-parent
manifest-entry-properties
+ lower-manifest-entry
manifest-pattern
manifest-pattern?
@@ -272,6 +273,7 @@ file name."
(output -> (manifest-entry-output entry)))
(return (manifest-entry
(inherit entry)
+ ;; TODO: Lower dependencies, recursively.
(item (derivation->output-path drv output))))))))
(define* (check-for-collisions manifest system #:key target)