GNU bug report logs - #27181
[PATCH] gnu: Add kaiju.

Previous Next

Package: guix-patches;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Thu, 1 Jun 2017 13:20:02 UTC

Severity: normal

Tags: patch

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Roel Janssen <roel <at> gnu.org>
Cc: 27181 <at> debbugs.gnu.org
Subject: bug#27181: [PATCH] gnu: Add kaiju.
Date: Thu, 01 Jun 2017 17:23:01 +0200
Hi Roel!

Roel Janssen <roel <at> gnu.org> skribis:

> From ed45f47f7514faf10710b41a7d5e9cdaa8217c70 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel <at> gnu.org>
> 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’.




This bug report was last modified 7 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.