From 858bbc25e2425a018ab9969bc939b701ce886e89 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Wed, 9 Sep 2026 09:01:31 -0400 Subject: [PATCH] davinci-resolve: fix incorrect libxcrypt Needs `libcrypt.so.1`, but libxcrypt provides `libcrypt.so.2`; v1 is provided by libxcrypt-legacy, so switch to that. Remove the `ln` as it should not be needed, and was likely added because libxcrypt had the API change that caused the lib to be missing, but Davinci Resolve bundles libcrypt.so.1, so could use that. In the next version, though, it will no longer be bundled and that (incorrect) workaround will not work. --- pkgs/by-name/da/davinci-resolve/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/da/davinci-resolve/package.nix b/pkgs/by-name/da/davinci-resolve/package.nix index fa369141cf79..602df885406b 100644 --- a/pkgs/by-name/da/davinci-resolve/package.nix +++ b/pkgs/by-name/da/davinci-resolve/package.nix @@ -39,7 +39,7 @@ xkeyboard_config, glib, libarchive, - libxcrypt, + libxcrypt-legacy, python3, aprutil, makeDesktopItem, @@ -207,7 +207,6 @@ let addDriverRunpath "$program" fi done - ln -s $out/libs/libcrypto.so.1.1 $out/libs/libcrypt.so.1 ''; desktopItems = [ @@ -303,7 +302,7 @@ buildFHSEnv { librsvg libtool libuuid - libxcrypt # provides libcrypt.so.1 + libxcrypt-legacy # provides libcrypt.so.1 libxkbcommon nspr ocl-icd