From 4ea88cc526a73adff8b91b293cb1eee17086f17e Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Tue, 7 Jul 2015 00:37:53 -0400 Subject: [PATCH] ruby: fix version 2.2.0 --- pkgs/development/interpreters/ruby/ruby-2.2.0.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/ruby/ruby-2.2.0.nix b/pkgs/development/interpreters/ruby/ruby-2.2.0.nix index 0fb01a5a5350..b6375aa687d7 100644 --- a/pkgs/development/interpreters/ruby/ruby-2.2.0.nix +++ b/pkgs/development/interpreters/ruby/ruby-2.2.0.nix @@ -59,9 +59,8 @@ stdenv.mkDerivation rec { "${patchSet}/patches/ruby/2.2.0/railsexpress/05-fix-packed-bitfield-compat-warning-for-older-gccs.patch" ]; - # Ruby >= 2.1.0 tries to download config.{guess,sub} - postPatch = '' - rm tool/config_files.rb + postPatch = ops useRailsExpress '' + sed -i configure.in -e '/config.guess/d' cp ${config}/config.guess tool/ cp ${config}/config.sub tool/ '';