Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NixOS build instructions for Tabnine Chat #177

Open
seanrmurphy opened this issue Jun 22, 2024 · 2 comments · May be fixed by #178
Open

Add NixOS build instructions for Tabnine Chat #177

seanrmurphy opened this issue Jun 22, 2024 · 2 comments · May be fixed by #178

Comments

@seanrmurphy
Copy link

seanrmurphy commented Jun 22, 2024

Is your feature request related to a problem? Please describe.
The repo contains no info on building Tabnine Chat for NixOS - I had to work it out myself.

Describe the solution you'd like
Add something like the following shell.nix to the chat directory to the repo:

# built against 960fae2187687ff0929775ffedb6f05172b990d2 with nixos 24.05

{ pkgs ? import <nixpkgs> {} }:
  pkgs.mkShell rec {
    buildInputs = with pkgs; [
      cargo
      rustc
      pkg-config
    ];

    nativeBuildInputs = with pkgs; [
      glib
      gdk-pixbuf
      libsoup_3
      pango
      gtk3
      webkitgtk_4_1
    ];
  }

and this can be used to start a shell with nix-shell which has the correct configuration to build Tabnine Chat.

Describe alternatives you've considered
None - it prob would be easy to create a flake which would perform the build - I could look into this if it would be useful.

Additional context
None.

@amirbilu
Copy link
Contributor

PRs are welcome :)

@seanrmurphy
Copy link
Author

Done! #178

@seanrmurphy seanrmurphy linked a pull request Jun 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants