diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-18 06:01:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-18 06:01:28 +0100 |
commit | cb2c96db15cb9d31003327a9a1ae5198fd888353 (patch) | |
tree | 4dee7f197df32a12585a5237fbb67db53818b382 /pkgs/applications/networking/instant-messengers | |
parent | ddf1381181e79e0ba76e031d13ce9397918d3af3 (diff) | |
parent | e31cf313a940cca22a8489ccd0ae31f0180bb07c (diff) |
Merge pull request #267053 from ilya-fedin/kotato-fix-darwin
kotatogram-desktop: fix build on Darwin after #234359
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix b/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix index b5879ffe5b465..694021d0f7fe2 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix @@ -82,15 +82,15 @@ stdenv.mkDerivation { }) ]; - postPatch = lib.optionalString stdenv.isLinux '' + postPatch = '' + rm -r src/third_party/libsrtp + cp -r --no-preserve=mode ${libsrtp} src/third_party/libsrtp + '' + lib.optionalString stdenv.isLinux '' substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \ --replace '"libEGL.so.1"' '"${libGL}/lib/libEGL.so.1"' \ --replace '"libGL.so.1"' '"${libGL}/lib/libGL.so.1"' \ --replace '"libgbm.so.1"' '"${mesa}/lib/libgbm.so.1"' \ --replace '"libdrm.so.2"' '"${libdrm}/lib/libdrm.so.2"' - - rm -r src/third_party/libsrtp - cp -r --no-preserve=mode ${libsrtp} src/third_party/libsrtp ''; outputs = [ "out" "dev" ]; |