Merge pull request #194240 from figsoda/fix-command-t

vimPlugins.command-t: fix build on darwin
This commit is contained in:
Christian Kögler
2022-10-03 22:05:39 +02:00
committed by GitHub
@@ -53,6 +53,7 @@
, zsh
# command-t dependencies
, getconf
, ruby
# cpsm dependencies
@@ -239,10 +240,11 @@ self: super: {
};
command-t = super.command-t.overrideAttrs (old: {
buildInputs = [ ruby ];
nativeBuildInputs = [ getconf ruby ];
buildPhase = ''
substituteInPlace lua/wincent/commandt/lib/Makefile \
--replace '/bin/bash' 'bash'
--replace '/bin/bash' 'bash' \
--replace xcrun ""
make build
rm ruby/command-t/ext/command-t/*.o
'';