Subject: Re: bug#27181: [PATCH] gnu: Add kaiju.

From: [email-masked] (Ludovic Courtès)
Date: Thu, 01 Jun 2017 17:23:01 +0200

Hi Roel!

Roel Janssen <[email-masked]> skribis:

> From ed45f47f7514faf10710b41a7d5e9cdaa8217c70 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <[email-masked]>
> Date: Thu, 1 Jun 2017 15:01:51 +0200
> Subject: [PATCH] gnu: Add kaiju.
>
> * gnu/packages/bioinformatics (kaiju): New variable.

[...]

> +       (modify-phases %standard-phases
> +         (delete 'configure)
> +         (add-before 'build 'move-to-src-dir
> +           (lambda _ (chdir "src") #t))
> +         (replace 'install
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
> +               (mkdir-p bin)
> +               (chdir "..")
> +               (copy-recursively "bin" bin)
> +               (copy-recursively "util" bin)))))))

Make sure to return #t at the end of the phase.  Otherwise LGTM!

Thanks,
Ludo’.