mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user