diff --git a/pkgs/by-name/ve/vectorcode/package.nix b/pkgs/by-name/ve/vectorcode/package.nix index c02fcfe37131..8d69ef0eb627 100644 --- a/pkgs/by-name/ve/vectorcode/package.nix +++ b/pkgs/by-name/ve/vectorcode/package.nix @@ -113,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 =