gnu: python-numpy: Avoid usage of 'this-package-input'.

* gnu/packages/python-xyz.scm (python-numpy)[arguments]: Use SEARCH-INPUT-FILE
instead of THIS-PACKAGE-INPUT.
This commit is contained in:
Marius Bakke 2022-08-28 00:06:30 +02:00
parent 59c136ef61
commit 859509a11c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -5618,7 +5618,10 @@ (define-public python-numpy
[openblas]
libraries = openblas
library_dirs = ~a/lib
include_dirs = ~:*~a/include~%" #$(this-package-input "openblas"))))))
include_dirs = ~:*~a/include~%"
(dirname (dirname
(search-input-file
inputs "include/openblas_config.h"))))))))
(add-before 'build 'fix-executable-paths
(lambda* (#:key inputs #:allow-other-keys)
;; Make /gnu/store/...-bash-.../bin/sh the default shell,