summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycapnp/include-paths.patch
blob: 04bd7a79e5c215ed7f317a64161e512f3df4f294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/capnp/lib/capnp.pyx
+++ b/capnp/lib/capnp.pyx
@@ -4410,10 +4410,7 @@ def load(file_name, display_name=None, imports=[]):
 # Automatically include the system and built-in capnp paths
 # Highest priority at position 0
 _capnp_paths = [
-    # Common macOS brew location
-    '/usr/local/include',
-    # Common posix location
-    '/usr/include',
+    '@capnproto@/include',
 ]
 
 class _Loader: