diff options
| author | Edwin Mackenzie-Owen <edwin.mowen@gmail.com> | 2025-01-18 14:54:07 +0100 |
|---|---|---|
| committer | Edwin Mackenzie-Owen <edwin.mowen@gmail.com> | 2025-01-18 17:31:43 +0100 |
| commit | b7066ff12f8379abc26fef6f46d67a0920cc39b8 (patch) | |
| tree | 02062c90e9b9578248d24aec1405384deda26770 /pkgs/development/python-modules/python-openstackclient | |
| parent | 431e18ae5ba957a23c2db5b326cca52dede9aed4 (diff) | |
waypipe: add missing runtime dependencies
Waypipe dynamically loads ffmpeg[^1] and libgbm[^2] at runtime,
therefore their library paths need to be included in the binary's
RUNPATH. libvulkan.so.1 also needs to be in the RUNPATH, because the
ash Rust crate used by Waypipe loads it dynamically at runtime[^3].
https://github.com/NixOS/nixpkgs/pull/374615 removed all
runtimeDependencies and the autoPatchelfHook that adds them to the
RUNPATH.
This commit readds the autoPatchelfHook and adds the three dynamically
loaded libraries to the runtimeDependencies.
In addition, it replaces the mesa buildInput with libgbm (which was used
before https://github.com/NixOS/nixpkgs/pull/373212) because Waypipe
depends only on libgbm.
Resolves https://github.com/NixOS/nixpkgs/issues/374595
[^1]: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/blob/cb53f342af8a3009561e0566ed81962acbde6fc0/wrap-ffmpeg/build.rs#L110-111
[^2]: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/blob/cb53f342af8a3009561e0566ed81962acbde6fc0/wrap-gbm/build.rs#L76-77l
[^3]: https://github.com/ash-rs/ash?tab=readme-ov-file#optional-linking
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
