From d182f6e1a7cdd2bac3f03fbb02dc369eaf0a7c67 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Mon, 6 May 2024 11:48:06 +0200 Subject: [PATCH] blackmagic-desktop-video: refactor runpath resolution --- pkgs/tools/video/blackmagic-desktop-video/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/video/blackmagic-desktop-video/default.nix b/pkgs/tools/video/blackmagic-desktop-video/default.nix index e186bda559f3..d8d6e7f2a169 100644 --- a/pkgs/tools/video/blackmagic-desktop-video/default.nix +++ b/pkgs/tools/video/blackmagic-desktop-video/default.nix @@ -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";