From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add di. Date: Sun, 3 Jul 2016 17:02:12 -0400 Message-ID: <20160703210212.GA22355@jasmine> References: <87poqvam4v.fsf@hecubus.retroj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJoX7-0001eC-GL for guix-devel@gnu.org; Sun, 03 Jul 2016 17:02:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJoX3-0007kz-CQ for guix-devel@gnu.org; Sun, 03 Jul 2016 17:02:28 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:45887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJoX2-0007j3-64 for guix-devel@gnu.org; Sun, 03 Jul 2016 17:02:25 -0400 Content-Disposition: inline In-Reply-To: <87poqvam4v.fsf@hecubus.retroj.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: John J Foerch Cc: guix-devel@gnu.org On Sat, Jul 02, 2016 at 03:13:52PM -0400, John J Foerch wrote: > * gnu/packages/admin.scm (di): New variable. Thanks! > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (delete 'configure) > + (delete 'check) Did you try setting `#:test-target "test"` in the arguments? The Makefile has a test target. > + (add-before 'build 'setup-environment > + (lambda* (#:key outputs #:allow-other-keys) > + (setenv "CC" "gcc") > + (setenv "prefix" (assoc-ref outputs "out")) > + #t))) Can you move these variables into #:make-flags? > + #:make-flags (list "-e"))) > + (description > + "'di' is a disk information utility, displaying everything > +(and more) that your 'df' command does. It features the ability to display How about wrapping 'df' in texinfo like this? @code{df}