Since bowtie's Makefile explicitly checks that the system it is built on
is x86_64 building on MIPS and i686 should be disabled.  (See bug#19708
for discussion.)

This is what the attached patch does.

~~ Ricardo

>From 9789efe14b8cf00ebf6b39a63146483fbe220535 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wur...@mdc-berlin.de>
Date: Thu, 29 Jan 2015 10:35:52 +0100
Subject: [PATCH] gnu: bowtie: only x86_64 is supported.

* gnu/packages/bioinformatics.scm (bowtie): Add 'supported-systems' field.
---
 gnu/packages/bioinformatics.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ff6c337..3ea82ba 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -133,6 +133,7 @@ aligning to relatively long (e.g. mammalian) genomes.  Bowtie 2 indexes the
 genome with an FM Index to keep its memory footprint small: for the human
 genome, its memory footprint is typically around 3.2 GB.  Bowtie 2 supports
 gapped, local, and paired-end alignment modes.")
+    (supported-systems '("x86_64-linux"))))
     (license license:gpl3+)))
 
 (define-public samtools
-- 
1.9.3

Reply via email to