summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorThomas Watson <twatson52@icloud.com>2022-05-03 21:20:26 -0500
committerThomas Watson <twatson52@icloud.com>2022-05-04 21:23:32 -0500
commit1dcc140d7fd7837144dd3420252815e69c2cbfe2 (patch)
tree8884da67814da5044168e1ed0423c041eab02335 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentccb9c0e53779ec8995d22b26cbc792ad13f8d503 (diff)
sweethome3d: fix impurity
The sweethome3d program ships pre-compiled shared libraries for graphics that need to be `patchelf`ed to work properly. Once the libraries are compressed into the final .jar, Nix can no longer see the path references so they are not declared a runtime dependency and the program won't run on a system that didn't build it and doesn't happen to have the right paths already present on it by chance. This patch switches to autoPatchelfHook to ensure the libraries get patched correctly, then scans the libraries to make a plain-text file with the same paths so that Nix can see the references and account for them. I suspect this problem might be lurking in other Java programs in nixpkgs. Fixes #66471.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions