From 7ef3d0aae82c20b29f7f0b25893ac54ebedb8761 Mon Sep 17 00:00:00 2001 From: Vir Chaudhury Date: Wed, 31 Aug 2022 18:18:47 +0800 Subject: [PATCH] vimPlugins.{vim-clap,command-t}: fix build --- pkgs/applications/editors/vim/plugins/overrides.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 8f805d1254ee..7e0e6e4d984f 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -53,7 +53,6 @@ , zsh # command-t dependencies -, rake , ruby # cpsm dependencies @@ -240,9 +239,11 @@ self: super: { }; command-t = super.command-t.overrideAttrs (old: { - buildInputs = [ ruby rake ]; + buildInputs = [ ruby ]; buildPhase = '' - rake make + substituteInPlace lua/wincent/commandt/lib/Makefile \ + --replace '/bin/bash' 'bash' + make build rm ruby/command-t/ext/command-t/*.o ''; }); @@ -979,7 +980,7 @@ self: super: { libiconv ]; - cargoSha256 = "sha256-prqS4cx5T+EiilXf3v7ResNBtgst0Kpgvayknf0QDXA="; + cargoSha256 = "sha256-QAfHhpXABuOPaHCfQQZYhBERGXMaJPFipWHt/MeSc3c="; }; in ''