chatd: fix darwin build

This commit is contained in:
Olivér Falvai 2024-09-30 19:00:44 +02:00
parent 4e0c36e4dd
commit 6217cafa30
No known key found for this signature in database

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