about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/gem-config
diff options
context:
space:
mode:
authorMichael Fellinger <michael.fellinger@iohk.io>2019-09-10 14:32:55 +0200
committerMichael Fellinger <michael.fellinger@iohk.io>2019-09-10 15:49:31 +0200
commitda7886c94054af70c222b5c277da1f7d9393f79a (patch)
treefc815b26244df1cb489f13441857d90e4fca711a /pkgs/development/ruby-modules/gem-config
parent1d483896b1b4cf173dcebe3c9818e781f634f155 (diff)
downloadnixlib-da7886c94054af70c222b5c277da1f7d9393f79a.tar
nixlib-da7886c94054af70c222b5c277da1f7d9393f79a.tar.gz
nixlib-da7886c94054af70c222b5c277da1f7d9393f79a.tar.bz2
nixlib-da7886c94054af70c222b5c277da1f7d9393f79a.tar.lz
nixlib-da7886c94054af70c222b5c277da1f7d9393f79a.tar.xz
nixlib-da7886c94054af70c222b5c277da1f7d9393f79a.tar.zst
nixlib-da7886c94054af70c222b5c277da1f7d9393f79a.zip
sup: remove
Diffstat (limited to 'pkgs/development/ruby-modules/gem-config')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix13
-rw-r--r--pkgs/development/ruby-modules/gem-config/mkrf_conf_xapian.rb14
2 files changed, 0 insertions, 27 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index 4e910ae9a244..421bb0ef04b6 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -535,19 +535,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 = ''
diff --git a/pkgs/development/ruby-modules/gem-config/mkrf_conf_xapian.rb b/pkgs/development/ruby-modules/gem-config/mkrf_conf_xapian.rb
deleted file mode 100644
index e19f06e23ac2..000000000000
--- a/pkgs/development/ruby-modules/gem-config/mkrf_conf_xapian.rb
+++ /dev/null
@@ -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