Ricardo Wurmus <ricardo.wur...@mdc-berlin.de> skribis:

> From 815a5e24f43f61c4beb243d98beb0659bbd74b3a Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wur...@mdc-berlin.de>
> Date: Tue, 16 Jun 2015 11:33:26 +0200
> Subject: [PATCH] gnu: Add idr.
>
> * gnu/packages/bioinformatics.scm (idr): New variable.

[...]

> +          'install 'wrap-program
> +          (lambda* (#:key outputs #:allow-other-keys)
> +            (let ((out (assoc-ref %outputs "out"))
> +                  (path (getenv "PYTHONPATH")))
> +              (wrap-program (string-append out "/bin/idr")
> +                `("PYTHONPATH" ":" prefix (,path))))

Taking $PYTHONPATH as is has the effect of keeping a reference to Cython
and to setuptools, which may not be what you want, given that they are
listed as ‘native-inputs’.

Should it instead explicitly list SciPy, NumPy, and Matplotlib?

Thanks,
Ludo’.

Reply via email to