chatd: fix darwin build (#345548)

This commit is contained in:
Sandro
2024-10-04 14:48:45 +02:00
committed by GitHub
+1 -2
View File
@@ -33,9 +33,8 @@ buildNpmPackage rec {
nativeBuildInputs = [
makeWrapper
electron
autoPatchelfHook # for onnx libs
pkg-config
];
] ++ lib.optional stdenv.isLinux autoPatchelfHook; # for onnx libs
buildInputs = [
stdenv.cc.cc.lib # for libstdc++.so, required by onnxruntime