unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 88f19850bf0a8b607d053b3d75635c0549b8c56f 783 bytes (raw)
name: gnu/packages/patches/python-3.8-search-paths.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
diff --git a/setup.py b/setup.py
index 20d7f35..5751083 100644
--- a/setup.py
+++ b/setup.py
@@ -676,8 +676,8 @@ class PyBuildExt(build_ext):
         # if a file is found in one of those directories, it can
         # be assumed that no additional -I,-L directives are needed.
         if not CROSS_COMPILING:
-            self.lib_dirs = self.compiler.library_dirs + system_lib_dirs
-            self.inc_dirs = self.compiler.include_dirs + system_include_dirs
+            self.lib_dirs = os.getenv('LIBRARY_PATH', '').split(os.pathsep)
+            self.inc_dirs = os.getenv('CPATH', '').split(os.pathsep)
         else:
             # Add the sysroot paths. 'sysroot' is a compiler option used to
             # set the logical path of the standard system headers and
--
2.23.0

debug log:

solving 22e102ccbe ...
found 22e102ccbe in https://yhetil.org/guix-devel/20191104091536.5zgt4c5knjsjff6m@rafflesia/ ||
	https://yhetil.org/guix-devel/20191030160430.4zdmlsnkoq5ps6tq@rafflesia/

applying [1/1] https://yhetil.org/guix-devel/20191104091536.5zgt4c5knjsjff6m@rafflesia/
diff --git a/gnu/packages/patches/python-3.8-search-paths.patch b/gnu/packages/patches/python-3.8-search-paths.patch
new file mode 100644
index 0000000000..22e102ccbe

Checking patch gnu/packages/patches/python-3.8-search-paths.patch...
Applied patch gnu/packages/patches/python-3.8-search-paths.patch cleanly.

skipping https://yhetil.org/guix-devel/20191030160430.4zdmlsnkoq5ps6tq@rafflesia/ for 22e102ccbe
index at:
100644 88f19850bf0a8b607d053b3d75635c0549b8c56f	gnu/packages/patches/python-3.8-search-paths.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).