@@ -536,19 +536,6 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
sup = attrs: {
|
||||
dontBuild = false;
|
||||
# prevent sup from trying to dynamically install `xapian-ruby`.
|
||||
nativeBuildInputs = [ bundler rake ];
|
||||
postPatch = ''
|
||||
cp ${./mkrf_conf_xapian.rb} ext/mkrf_conf_xapian.rb
|
||||
|
||||
substituteInPlace lib/sup/crypto.rb \
|
||||
--replace 'which gpg2' \
|
||||
'${which}/bin/which gpg'
|
||||
'';
|
||||
};
|
||||
|
||||
rb-readline = attrs: {
|
||||
dontBuild = false;
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
require 'rubygems'
|
||||
require 'rubygems/command.rb'
|
||||
require 'rubygems/dependency_installer.rb'
|
||||
require 'rbconfig'
|
||||
|
||||
begin
|
||||
Gem::Command.build_args = ARGV
|
||||
rescue NoMethodError
|
||||
end
|
||||
|
||||
# create dummy rakefile to indicate success
|
||||
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w")
|
||||
f.write("task :default\n")
|
||||
f.close
|
||||
Reference in New Issue
Block a user