Files
nixpkgs/pkgs/development/python-modules/fmpy/0002-sundials-override-shared-object-paths.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
418 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
--- a/src/fmpy/sundials/libraries.py
+++ b/src/fmpy/sundials/libraries.py
@@ -9,6 +9,7 @@ if platform_tuple == 'aarch64_darwin':
library_dir = library_dir / 'x86_64-darwin'
else:
library_dir = library_dir / platform_tuple
+library_dir = Path("@cvode@") / 'lib'
# load SUNDIALS shared libraries
sundials_nvecserial = cdll.LoadLibrary(str(library_dir / f'sundials_nvecserial{sharedLibraryExtension}'))