fetch-nupkg/overrides: fix missing libc++ dependency in SkiaSharp

Some earlier 3.x versions still don't build because they depend on
libc.musl-x86_64.so.1.

Fixes: #370827
(cherry picked from commit f1c31d6c1d)
This commit is contained in:
David McFarland
2026-09-22 11:33:50 -03:00
committed by github-actions[bot]
parent 07d23654ac
commit 87f378c24b

View File

@@ -79,7 +79,10 @@
lib.optionalAttrs stdenv.hostPlatform.isLinux {
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ autoPatchelfHook ];
buildInputs = old.buildInputs or [ ] ++ [ fontconfig ];
buildInputs =
old.buildInputs or [ ]
++ [ fontconfig ]
++ lib.optional (lib.versionAtLeast old.version "4") (lib.getLib stdenv.cc.cc);
preInstall = old.preInstall or "" + ''
cd runtimes