Unverified Commit c4f9cfab authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

vectorcode: fixes (#419344)

parents 78f384c9 10a5a91b
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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 =