about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/gusb/fix-python-path.patch
blob: 5f04387a537ebe5b47326a8edd4cb454672f3555 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/gusb/meson.build b/gusb/meson.build
index 8236a2b..282aa48 100644
--- a/gusb/meson.build
+++ b/gusb/meson.build
@@ -147,7 +147,7 @@ libgusb_gir = libgusb_girtarget[0]
 libgusb_typelib = libgusb_girtarget[1]
 
 pymod = import('python')
-py_installation = pymod.find_installation()
+py_installation = pymod.find_installation('@python@')
 
 # Verify the map file is correct -- note we can't actually use the generated
 # file for two reasons: