about summary refs log tree commit diff
path: root/pkgs/applications/video/davinci-resolve
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2023-11-16 22:24:16 -0500
committerAndrew Marshall <andrew@johnandrewmarshall.com>2023-11-19 13:40:26 -0500
commitf1361c508956058c5c7de49604cca4769bb45a49 (patch)
treeb7996b362c1b28de630a37cb48c78894067aec01 /pkgs/applications/video/davinci-resolve
parent304b1bd679990e76922162011137b8bd8588305d (diff)
davinci-resolve: fix runtime error
See https://github.com/NixOS/nixpkgs/issues/265476

This is a hack that effectively undoes
https://github.com/NixOS/nixpkgs/pull/263201 for just this derivation.
Really we should probably be doing a ton of autoPatchelf or something to
patch in our libs. Alas, this is “good enough” to un-break for now, I
think.
Diffstat (limited to 'pkgs/applications/video/davinci-resolve')
-rw-r--r--pkgs/applications/video/davinci-resolve/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/davinci-resolve/default.nix b/pkgs/applications/video/davinci-resolve/default.nix
index c7cd775ea7bfa..82f6f42ac0df5 100644
--- a/pkgs/applications/video/davinci-resolve/default.nix
+++ b/pkgs/applications/video/davinci-resolve/default.nix
@@ -242,7 +242,7 @@ buildFHSEnv {
     ''
     export QT_XKB_CONFIG_ROOT="${xkeyboard_config}/share/X11/xkb"
     export QT_PLUGIN_PATH="${davinci}/libs/plugins:$QT_PLUGIN_PATH"
-    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${davinci}/libs
+    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib32:${davinci}/libs
     ${davinci}/bin/resolve
     ''
   }";