unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John J Foerch <jjfoerch@earthlink.net>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add di.
Date: Sun, 03 Jul 2016 18:03:01 -0400	[thread overview]
Message-ID: <87eg7a9y7e.fsf@hecubus.retroj.net> (raw)
In-Reply-To: 20160703210212.GA22355@jasmine

Leo Famulari <leo@famulari.name> writes:

> 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.
>

I didn't know about that.  I'll try it out.

>> +         (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")))

I don't think so.  The main Makefile calls make in the 'C' directory,
which has its own Makefile, so for the variables to be visible in that
second make process, they need to be environment variables.

>
>> +    (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}

Okay, will do.

Thank you,

--
John Foerch

  reply	other threads:[~2016-07-03 22:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-02 19:13 [PATCH] gnu: Add di John J Foerch
2016-07-03 21:02 ` Leo Famulari
2016-07-03 22:03   ` John J Foerch [this message]
2016-07-04  3:47     ` John J Foerch
2016-07-04  6:43       ` Alex Kost
2016-07-04 15:18         ` John J Foerch
2016-07-04 19:07           ` Leo Famulari
2016-07-05  1:53             ` John J Foerch
2016-07-07 16:30               ` John J Foerch
2016-07-07 17:37                 ` Leo Famulari
2016-07-08  7:27                   ` Alex Kost
2016-07-08  0:40                 ` Leo Famulari
2016-07-08 14:06                   ` John J Foerch
2016-07-04 19:04         ` Leo Famulari
2016-07-05  1:56           ` John J Foerch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eg7a9y7e.fsf@hecubus.retroj.net \
    --to=jjfoerch@earthlink.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).