[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
281/285: inferior: Add 'inferior-package-provenance'.
From: |
guix-commits |
Subject: |
281/285: inferior: Add 'inferior-package-provenance'. |
Date: |
Sun, 29 Dec 2019 20:44:48 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.
commit e5701e4bbe5503fd3038ab2202d48db64bdb2d0a
Author: Ludovic Courtès <address@hidden>
Date: Sun Dec 29 17:35:56 2019 +0100
inferior: Add 'inferior-package-provenance'.
* guix/inferior.scm (inferior-package-provenance): New procedure.
---
guix/inferior.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/guix/inferior.scm b/guix/inferior.scm
index 71dae89..c4969cd 100644
--- a/guix/inferior.scm
+++ b/guix/inferior.scm
@@ -82,6 +82,7 @@
inferior-package-native-search-paths
inferior-package-transitive-native-search-paths
inferior-package-search-paths
+ inferior-package-provenance
inferior-package-derivation
inferior-package->manifest-entry
@@ -416,6 +417,19 @@ package."
(define inferior-package-transitive-native-search-paths
(cut %inferior-package-search-paths <>
'package-transitive-native-search-paths))
+(define (inferior-package-provenance package)
+ "Return a \"provenance sexp\" for PACKAGE, an inferior package. The result
+is similar to the sexp returned by 'package-provenance' for regular packages."
+ (inferior-package-field package
+ '(let* ((describe
+ (false-if-exception
+ (resolve-interface '(guix describe))))
+ (provenance
+ (false-if-exception
+ (module-ref describe
+ 'package-provenance))))
+ (or provenance (const #f)))))
+
(define (proxy client backend) ;adapted from (guix ssh)
"Proxy communication between CLIENT and BACKEND until CLIENT closes the
connection, at which point CLIENT is closed (both CLIENT and BACKEND must be
- 257/285: gnu: portaudio: Add C++ bindings., (continued)
- 257/285: gnu: portaudio: Add C++ bindings., guix-commits, 2019/12/29
- 256/285: gnu: emacs-shroud: Update to 1.105., guix-commits, 2019/12/29
- 254/285: gnu: Add ardupilot., guix-commits, 2019/12/29
- 259/285: gnu: Add copyq., guix-commits, 2019/12/29
- 263/285: gnu: ruby-ansi: Don't use unstable tarball., guix-commits, 2019/12/29
- 248/285: gnu: Add python-audioread., guix-commits, 2019/12/29
- 251/285: gnu: Add gnome-themes-extra, guix-commits, 2019/12/29
- 267/285: gnu: emacs-auth-source-pass: Use upstream URL., guix-commits, 2019/12/29
- 278/285: profiles: Add 'map-manifest-entries'., guix-commits, 2019/12/29
- 276/285: gnu: scummvm: Fix build., guix-commits, 2019/12/29
- 281/285: inferior: Add 'inferior-package-provenance'.,
guix-commits <=
- 284/285: gnu: gnome-themes-extra: Remove cache file., guix-commits, 2019/12/29
- 216/285: gnu: r-car: Update to 3.0-6., guix-commits, 2019/12/29
- 224/285: guix: emacs-utils: Add emacs-batch-disable-compilation., guix-commits, 2019/12/29
- 250/285: gnu: beets: Add support for Acoustid., guix-commits, 2019/12/29
- 253/285: gnu: python-waf: Add some extra tools., guix-commits, 2019/12/29
- 255/285: gnu: password-store: Make search path single-entry., guix-commits, 2019/12/29
- 258/285: gnu: Add picom., guix-commits, 2019/12/29
- 261/285: gnu: ruby-multi-json: Don't use unstable tarball., guix-commits, 2019/12/29
- 264/285: gnu: ruby-guard: Don't use unstable tarball., guix-commits, 2019/12/29
- 269/285: gnu: Add ghc-filepath-bytestring., guix-commits, 2019/12/29