feat: set opencode db path explicitly

This commit is contained in:
Jet 2026-05-17 10:58:42 -07:00
parent d276c2d788
commit da72bc5483
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ let
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram "$out/bin/opencode" \
--set OPENCODE_DB opencode.db \
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ]}"
'';
};