From 00c4c52277d95f64cd0faa205a7a0d00b1c63fef Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Thu, 7 May 2015 00:11:00 -0400 Subject: [PATCH] Fix bundler HEAD --- pkgs/development/interpreters/ruby/bundler-head.nix | 12 ++++++------ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/interpreters/ruby/bundler-head.nix b/pkgs/development/interpreters/ruby/bundler-head.nix index 35b8823d22a7..5b190c5a43bf 100644 --- a/pkgs/development/interpreters/ruby/bundler-head.nix +++ b/pkgs/development/interpreters/ruby/bundler-head.nix @@ -1,12 +1,12 @@ -{ buildRubyGem, coreutils, fetchgit }: +{ buildRubyGem, coreutils, fetchFromGitHub }: buildRubyGem { name = "bundler-HEAD"; - src = fetchgit { - url = "https://github.com/bundler/bundler.git"; - rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157"; - sha256 = "0q7cjmz1fsrw3yfsr3h274qjamwnw01xgaqq3h5cjbqlrni4iq7k"; - leaveDotGit = true; + src = fetchFromGitHub { + owner = "bundler"; + repo = "bundler"; + rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157"; + sha256 = "05275drvlrrlbync39qdw9nrsabb5yxcns7a7rk5c0ggsfc6hsnb"; }; dontPatchShebangs = true; postInstall = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f08ecfeb5bd9..302a4d7dce02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4771,7 +4771,7 @@ let }; bundler = callPackage ../development/interpreters/ruby/bundler.nix { }; bundler_HEAD = import ../development/interpreters/ruby/bundler-head.nix { - inherit buildRubyGem coreutils fetchgit; + inherit buildRubyGem coreutils fetchFromGitHub; }; defaultGemConfig = callPackage ../development/interpreters/ruby/bundler-env/default-gem-config.nix { }; buildRubyGem = callPackage ../development/interpreters/ruby/gem.nix { };