[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: pack: Construct inferior package names correctly.
From: |
guix-commits |
Subject: |
08/08: pack: Construct inferior package names correctly. |
Date: |
Fri, 15 Mar 2019 18:29:39 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 41dfe40f5dbd162558c3954ae8eb991a56a65682
Author: P.C. Shyamshankar <address@hidden>
Date: Fri Feb 22 22:38:47 2019 -0500
pack: Construct inferior package names correctly.
* guix/scripts/pack.scm (wrapped-package): now correctly constructs full
names of inferior packages.
Co-authored-by: Ludovic Courtès <address@hidden>
---
guix/scripts/pack.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index bfb8b85..17a166d 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -28,6 +28,7 @@
#:use-module (guix store)
#:use-module ((guix status) #:select (with-status-verbosity))
#:use-module (guix grafts)
+ #:autoload (guix inferior) (inferior-package?)
#:use-module (guix monads)
#:use-module (guix modules)
#:use-module (guix packages)
@@ -586,7 +587,15 @@ please email '~a'~%")
(find-files #$(file-append package "/sbin"))
(find-files #$(file-append package
"/libexec")))))))
- (computed-file (string-append (package-full-name package "-") "R")
+ (computed-file (string-append
+ (cond ((package? package)
+ (package-full-name package "-"))
+ ((inferior-package? package)
+ (string-append (inferior-package-name package)
+ "-"
+ (inferior-package-version package)))
+ (else "wrapper"))
+ "R")
build))
(define (map-manifest-entries proc manifest)
- branch master updated (39c0a3f -> 41dfe40), guix-commits, 2019/03/15
- 01/08: build-system/glib-or-gtk: Support #:disallowed-references., guix-commits, 2019/03/15
- 02/08: gnu: gnome-shell: Remove references to Inkscape and more., guix-commits, 2019/03/15
- 03/08: gnu: hplip: Remove pre-built executable from the source., guix-commits, 2019/03/15
- 04/08: gnu: hplip: Do not keep reference to GCC., guix-commits, 2019/03/15
- 08/08: pack: Construct inferior package names correctly.,
guix-commits <=
- 05/08: gnu: hplip-minimal: Remove dependency on Python & co., guix-commits, 2019/03/15
- 07/08: services: mpd: add more configuration options, guix-commits, 2019/03/15
- 06/08: pack: "-RR" produces PRoot-enabled relocatable binaries., guix-commits, 2019/03/15