chatd: fix darwin build (#345548)

This commit is contained in:
Sandro 2024-10-04 14:48:45 +02:00 committed by GitHub
commit ca59d0bee3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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