vim: disable vim-go on x86_64-darwin

This commit is contained in:
Sam W 2022-04-17 01:26:31 +01:00
parent 869de833bf
commit 4be52545b2
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@
nvim-lspconfig nvim-lspconfig
trouble-nvim trouble-nvim
rust-vim rust-vim
] ++ lib.optionals (system != "aarch64-linux") [ vim-go ]; ]
# delve is unsupported on aarch64-linux and golangci-lint is broken on x86_64-darwin
# (see https://github.com/NixOS/nixpkgs/issues/168984).
++ lib.optionals (system != "aarch64-linux" && system != "x86_64-darwin") [ vim-go ];
programs.neovim.extraConfig = '' programs.neovim.extraConfig = ''
lua <<EOF lua <<EOF
${builtins.readFile ./dev.lua} ${builtins.readFile ./dev.lua}