feishu: fix broken symlink to libcurl.so (#380267)

This commit is contained in:
Wolfgang Walther 2025-02-12 08:06:58 +01:00 committed by GitHub
commit d6051d95f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,6 @@
autoPatchelfHook, autoPatchelfHook,
cairo, cairo,
cups, cups,
curl,
dbus, dbus,
dpkg, dpkg,
expat, expat,
@ -87,7 +86,6 @@ let
atk atk
cairo cairo
cups cups
curl
dbus dbus
expat expat
fontconfig fontconfig
@ -154,7 +152,6 @@ stdenv.mkDerivation {
# for autopatchelf # for autopatchelf
alsa-lib alsa-lib
cups cups
curl
libXdamage libXdamage
libXtst libXtst
libdrm libdrm
@ -199,12 +196,6 @@ stdenv.mkDerivation {
mkdir -p $out/bin mkdir -p $out/bin
ln -s $out/opt/bytedance/feishu/bytedance-feishu $out/bin/bytedance-feishu ln -s $out/opt/bytedance/feishu/bytedance-feishu $out/bin/bytedance-feishu
# feishu comes with a bundled libcurl.so
# and has many dependencies that are hard to satisfy
# e.g. openldap version 2.4
# so replace it with our own libcurl.so
ln -sf ${curl}/lib/libcurl.so $out/opt/bytedance/feishu/libcurl.so
''; '';
passthru = { passthru = {