From 58f3eec4191b94db440d1689edc58e2d551a4722 Mon Sep 17 00:00:00 2001 From: Eric Bavier
Date: Thu, 24 Jul 2014 23:59:00 -0500 Subject: [PATCH] guix: package: Fix recutils output for non-package inputs. * guix/ui.scm (package->recutils)[dependencies]: Ignore non-package inputs. --- guix/ui.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/ui.scm b/guix/ui.scm index 1b7d334..9112d55 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -468,8 +468,8 @@ WIDTH columns." (format port "version: ~a~%" (package-version p)) (format port "dependencies: ~a~%" (match (package-direct-inputs p) - (((labels packages . _) ...) - (dependencies->recutils packages)))) + (((labels inputs . _) ...) + (dependencies->recutils (filter package? inputs))))) (format port "location: ~a~%" (or (and=> (package-location p) location->string) (_ "unknown"))) -- 1.7.9.5