From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: =?utf-8?Q?What=E2=80=99s?= the weather like? Date: Sun, 23 Jul 2017 13:02:00 +0200 Message-ID: <87h8y38lhz.fsf@elephly.net> References: <87bmodkem5.fsf@gnu.org> <87mv7v8tzs.fsf@elephly.net> <87inij8n5j.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZEeL-0008V6-2s for guix-devel@gnu.org; Sun, 23 Jul 2017 07:02:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZEeK-0002Xa-AM for guix-devel@gnu.org; Sun, 23 Jul 2017 07:02:13 -0400 In-reply-to: <87inij8n5j.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Ricardo Wurmus writes: >> Now if one could pass a manifest or a system configuration to “guix >> weather” and it would show how many of the desired packages have >> substitutes that would be even more useful. Looking at the concise code >> it seems to be an almost trivial change. > > Attached is a patch against “weather.scm” that adds a “--manifest” > option. And here’s the missing addition to the “usage” output: --- guix/scripts/weather.scm 2017-07-23 12:25:38.284361726 +0200 +++ guix/scripts/weather.scm.more 2017-07-23 13:00:31.021921693 +0200 @@ -145,6 +145,9 @@ --substitute-urls=URLS check for available substitutes at URLS")) (display (G_ " + --manifest=MANIFEST + only look up substitutes for packages specified in MANIFEST")) + (display (G_ " -s, --system=SYSTEM consider substitutes for SYSTEM--e.g., \"i686-linux\"")) (newline) (display (G_ "