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}

Reply via email to