summary refs log tree commit diff
path: root/pkgs/development/interpreters/ruby/config.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2014-09-18 11:43:16 -0400
committerCharles Strahan <charles.c.strahan@gmail.com>2014-09-18 11:43:16 -0400
commite38d7cbfb264ee42f31b3a0bd7171a38e10a7091 (patch)
tree022dbc8d8dda2beeab20ddda4b693f2130941d5c /pkgs/development/interpreters/ruby/config.nix
parenteca58fd02f7648fe19fd737f7ce543967b8e8ebf (diff)
downloadnixlib-e38d7cbfb264ee42f31b3a0bd7171a38e10a7091.tar
nixlib-e38d7cbfb264ee42f31b3a0bd7171a38e10a7091.tar.gz
nixlib-e38d7cbfb264ee42f31b3a0bd7171a38e10a7091.tar.bz2
nixlib-e38d7cbfb264ee42f31b3a0bd7171a38e10a7091.tar.lz
nixlib-e38d7cbfb264ee42f31b3a0bd7171a38e10a7091.tar.xz
nixlib-e38d7cbfb264ee42f31b3a0bd7171a38e10a7091.tar.zst
nixlib-e38d7cbfb264ee42f31b3a0bd7171a38e10a7091.zip
Fix the new Ruby interpreters (fixes #3509).
Ruby >= 2.1.0 will try to download config.{sub,guess} if not already present.
This provides both files in a pure manner, and also deletes the download script
to prevent any future confusion.
Diffstat (limited to 'pkgs/development/interpreters/ruby/config.nix')
-rw-r--r--pkgs/development/interpreters/ruby/config.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/ruby/config.nix b/pkgs/development/interpreters/ruby/config.nix
new file mode 100644
index 000000000000..c03c0520d7ae
--- /dev/null
+++ b/pkgs/development/interpreters/ruby/config.nix
@@ -0,0 +1,6 @@
+# Ruby >= 2.1.0 tries to download config.{guess,sub}
+fetchgit: fetchgit {
+  url = "git://git.sv.gnu.org/config.git";
+  rev = "576c839acca0e082e536fd27568b90a446ce5b96";
+  sha256 = "11bjngchjhj0qq0ppp8c37rfw0yhp230nvhs2jvlx15i9qbf56a0";
+}