From 4be52545b241bc6a44cacc0de08d96d75ef7a154 Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Sun, 17 Apr 2022 01:26:31 +0100 Subject: [PATCH] vim: disable vim-go on x86_64-darwin --- home/vim-dev.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/vim-dev.nix b/home/vim-dev.nix index d0f95f1..492e60a 100644 --- a/home/vim-dev.nix +++ b/home/vim-dev.nix @@ -7,7 +7,10 @@ nvim-lspconfig trouble-nvim 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 = '' lua <