nixpkgs/pkgs/applications/misc/oversteer/fix-install-dir.patch
Samuel Rounce 6813f200b9 oversteer: init at 0.7.2
Add Oversteer - Steering Wheel Manager for Linux
at version [0.7.2](https://github.com/berarma/oversteer/releases/tag/0.7.2).
2023-01-21 17:05:27 +00:00

14 lines
556 B
Diff

diff --git a/meson.build b/meson.build
index 239acf9..6a06c83 100644
--- a/meson.build
+++ b/meson.build
@@ -8,7 +8,7 @@ pymod = import('python')
prefix = get_option('prefix')
pkgdatadir = join_paths(prefix, get_option('datadir'), meson.project_name())
py_installation = pymod.find_installation(get_option('python'))
-py_path = py_installation.get_path('purelib')
+py_path = py_installation.get_install_dir()
python3_required_modules = ['gi', 'pyudev', 'xdg', 'evdev', 'gettext', 'matplotlib', 'scipy', 'numpy']
foreach p : python3_required_modules