fix(nix): add libstdc++ for tokenizers native dep
Build & Deploy (Nix) / build-and-deploy (push) Successful in 2m21s

This commit is contained in:
MythEclipse
2026-07-31 09:43:10 +07:00
parent 163a1ef7ab
commit 09ed866525
+2
View File
@@ -18,6 +18,7 @@
src = ./.;
nativeBuildInputs = [ python pkgs.git pkgs.cacert ];
buildInputs = [ pkgs.stdenv.cc.cc.lib ];
buildPhase = ''
export HOME=$TMPDIR/home
@@ -42,6 +43,7 @@
cat > $out/bin/pr-agent-server << WRAPPER
#!${pkgs.runtimeShell}
export PATH=${pkgs.git}/bin:\$PATH
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:\$LD_LIBRARY_PATH
cd $out/lib/pr-agent-server
exec $out/venv/bin/python run_server.py
WRAPPER