vectorcode: fixes (#419344)

This commit is contained in:
Gaétan Lepage
2025-06-23 23:38:00 +02:00
committed by GitHub
+11
View File
@@ -77,6 +77,7 @@ python.pkgs.buildPythonApplication rec {
pathspec
psutil
pygments
python-dotenv
sentence-transformers
shtab
tabulate
@@ -112,6 +113,16 @@ python.pkgs.buildPythonApplication rec {
installShellCompletion vectorcode.{bash,zsh}
'';
postFixup = ''
wrapProgram $out/bin/vectorcode \
--prefix PYTHONPATH : "$PYTHONPATH" \
--set PATH ${
lib.makeBinPath [
python
]
};
'';
pythonImportsCheck = [ "vectorcode" ];
nativeCheckInputs =