[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add di.
From: |
John J Foerch |
Subject: |
Re: [PATCH] gnu: Add di. |
Date: |
Sun, 03 Jul 2016 18:03:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Leo Famulari <address@hidden> 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
- [PATCH] gnu: Add di., John J Foerch, 2016/07/02
- Re: [PATCH] gnu: Add di., Leo Famulari, 2016/07/03
- Re: [PATCH] gnu: Add di.,
John J Foerch <=
- Re: [PATCH] gnu: Add di., John J Foerch, 2016/07/03
- Re: [PATCH] gnu: Add di., Alex Kost, 2016/07/04
- Re: [PATCH] gnu: Add di., John J Foerch, 2016/07/04
- Re: [PATCH] gnu: Add di., Leo Famulari, 2016/07/04
- Re: [PATCH] gnu: Add di., John J Foerch, 2016/07/04
- Re: [PATCH] gnu: Add di., John J Foerch, 2016/07/07
- Re: [PATCH] gnu: Add di., Leo Famulari, 2016/07/07
- Re: [PATCH] gnu: Add di., Alex Kost, 2016/07/08
- Re: [PATCH] gnu: Add di., Leo Famulari, 2016/07/07
- Re: [PATCH] gnu: Add di., John J Foerch, 2016/07/08