blackmagic-desktop-video: refactor runpath resolution

This commit is contained in:
Naxdy 2024-05-06 11:48:06 +02:00
parent 8f650600cf
commit d182f6e1a7
No known key found for this signature in database
GPG key ID: CC15075846BCE91B

View file

@ -93,8 +93,8 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
# i know this is ugly, but it's the cleanest way i found to tell the DesktopVideoHelper where to find its own library
appendRunpaths = [ "$ORIGIN/../lib" ];
# need to tell the DesktopVideoHelper where to find its own library
appendRunpaths = [ "${placeholder "out"}/lib" ];
meta = with lib; {
homepage = "https://www.blackmagicdesign.com/support/family/capture-and-playback";