guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: bug#27181: [PATCH] gnu: Add kaiju.
Date: Thu, 01 Jun 2017 17:23:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi Roel!

Roel Janssen <address@hidden> skribis:

> From ed45f47f7514faf10710b41a7d5e9cdaa8217c70 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <address@hidden>
> 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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]