diff --git a/pkgs/development/tools/misc/texlab/default.nix b/pkgs/development/tools/misc/texlab/default.nix index 61f4f6bf73a..8185b14cd73 100644 --- a/pkgs/development/tools/misc/texlab/default.nix +++ b/pkgs/development/tools/misc/texlab/default.nix @@ -1,6 +1,7 @@ { stdenv , rustPlatform , fetchFromGitHub +, installShellFiles , Security }: @@ -17,8 +18,14 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "0iibjh2ll181j69vld1awvjgyv3xwmq0abh10651la4k4jpppx46"; + nativeBuildInputs = [ installShellFiles ]; + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + postInstall = '' + installManPage texlab.1 + ''; + meta = with stdenv.lib; { description = "An implementation of the Language Server Protocol for LaTeX"; homepage = "https://texlab.netlify.com/";