guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 01/16: gnu: python-numpy: Avoid usage of 'this-package-input'.
Date: Tue, 30 Aug 2022 14:44:45 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 859509a11c44f61255ffe48a2cdd159ad46b17e7
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Aug 28 00:06:30 2022 +0200

    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.
---
 gnu/packages/python-xyz.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 17df17fa9d..d60b85aced 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5618,7 +5618,10 @@ writing C extensions for Python as easy as Python 
itself.")
 [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,



reply via email to

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