forked from autozimu/LanguageClient-neovim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
31 lines (30 loc) · 695 Bytes
/
shell.nix
File metadata and controls
31 lines (30 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs { };
inherit (pkgs) stdenv;
in
pkgs.mkShell {
buildInputs = (with pkgs; [
curl
git
mypy
neovim
rustup
rust-analyzer # For integration tests.
tmux
vim # For manual tests.
vim-vint
(with python37Packages; [
flake8
pynvim
pytest
])
])
++ stdenv.lib.optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
CoreServices
])
++ stdenv.lib.optionals stdenv.isLinux (with pkgs; [
cargo-release # build error on macOS: "iconv.h" not found.
]);
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-framework CoreFoundation";
}