summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-09-13 09:34:45 -0400
committerGitHub <noreply@github.com>2023-09-13 09:34:45 -0400
commit2c18b2123ce9bfaf747371975ae542de0bc2a3a3 (patch)
tree2bd6ba80031fc619829bcdf3de3d0ddeb8630c67 /pkgs/applications/editors
parent31bcb71ff91ae8ede5c92ed7335b01fc8269b36d (diff)
parent938de2ab1d0eb7d398377ab77df5469da0467134 (diff)
downloadnixpkgs-2c18b2123ce9bfaf747371975ae542de0bc2a3a3.tar
nixpkgs-2c18b2123ce9bfaf747371975ae542de0bc2a3a3.tar.gz
nixpkgs-2c18b2123ce9bfaf747371975ae542de0bc2a3a3.tar.bz2
nixpkgs-2c18b2123ce9bfaf747371975ae542de0bc2a3a3.tar.lz
nixpkgs-2c18b2123ce9bfaf747371975ae542de0bc2a3a3.tar.xz
nixpkgs-2c18b2123ce9bfaf747371975ae542de0bc2a3a3.tar.zst
nixpkgs-2c18b2123ce9bfaf747371975ae542de0bc2a3a3.zip
Merge pull request #254771 from SuperSandro2000/vim-plugins-cross
vimPlugins.vim-utils: execute check and doc generation in cross compiā€¦
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/vim/plugins/vim-utils.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix
index 44ad9295e28..16317a5d0c6 100644
--- a/pkgs/applications/editors/vim/plugins/vim-utils.nix
+++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix
@@ -418,7 +418,7 @@ rec {
       forceShare = [ "man" "info" ];
 
       nativeBuildInputs = oldAttrs.nativeBuildInputs or []
-      ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
+      ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
         vimCommandCheckHook vimGenDocHook
         # many neovim plugins keep using buildVimPlugin
         neovimRequireCheckHook