From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Reverse dependencies Date: Fri, 12 Aug 2016 12:03:21 +0300 Message-ID: <87d1legy06.fsf@gmail.com> References: <20160716161333.GA29212@jasmine> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDTX-0004Hb-KR for help-guix@gnu.org; Fri, 12 Aug 2016 10:30:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYDTS-0001wv-M7 for help-guix@gnu.org; Fri, 12 Aug 2016 10:30:19 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDTS-0001wa-FA for help-guix@gnu.org; Fri, 12 Aug 2016 10:30:14 -0400 Received: by mail-wm0-x22c.google.com with SMTP id f65so31161736wmi.0 for ; Fri, 12 Aug 2016 07:30:14 -0700 (PDT) In-Reply-To: (Vincent Legoll's message of "Thu, 11 Aug 2016 16:43:53 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Vincent Legoll Cc: help-guix Vincent Legoll (2016-08-11 17:43 +0300) wrote: > Hello, > >>> I'm trying to understand which package(s) depends on some other package, >>> kind of the reverse of what guix graph does (I think). >> >> I think that `guix refresh --list-dependent foo` is what you are asking >> for, or at least it's close. We use it to learn what will need to be >> rebuilt when upgrading foo. > > Not really what I want to know: > > # guix refresh --list-dependent inkscape > Building the following 5 packages would ensure 10 dependent packages > are rebuilt: frescobaldi-2.19.0 solfege-3.22.2 simple-scan-3.19.91 > termite-11 hydra-20150407.4c0e3e4 > > None of those are installed, but inkscape is pulled in by something > which I want to know I think you mean inkscape is pulled when you build the system. Then you will not find it like this. It is needed to build the fancy grub image, and it is "pulled" by the system building code (specifically by 'svg->png' procedure in (gnu system grub) module). If you want to avoid it, you can specify an "empty" theme for example: (bootloader (grub-configuration (device "/dev/sda") (theme (grub-theme)))) -- Alex