zoom-us: use the lib output of stdenv.cc in the FHS environment

Zoom only needs libstdc++, libatomic and libgomp at runtime, which live in gcc's
lib output. Listing the full stdenv.cc.cc also pulls the compiler toolchain and
its man pages into the FHS environment, adding roughly 295 MiB to its closure.

Assisted-by: OpenCode / DeepSeek V4.1 Flash
This commit is contained in:
Ryan Yin
2026-10-02 16:50:20 +08:00
parent bdd15b5e11
commit af42fd2d45

View File

@@ -181,7 +181,7 @@ let
pkgs.pipewire
pkgs.qt6.qtbase
pkgs.qt6.qtdeclarative
pkgs.stdenv.cc.cc
pkgs.stdenv.cc.cc.lib # only libstdc++, libatomic and libgomp are needed at runtime
pkgs.udev
pkgs.util-linux.lib # provides libuuid.so.1, which Zoom 7.2 links against
pkgs.wayland