diff --git a/pkgs/development/interpreters/ruby/bundler-head.nix b/pkgs/development/interpreters/ruby/bundler-head.nix index 5b190c5a43bf..35b8823d22a7 100644 --- a/pkgs/development/interpreters/ruby/bundler-head.nix +++ b/pkgs/development/interpreters/ruby/bundler-head.nix @@ -1,12 +1,12 @@ -{ buildRubyGem, coreutils, fetchFromGitHub }: +{ buildRubyGem, coreutils, fetchgit }: buildRubyGem { name = "bundler-HEAD"; - src = fetchFromGitHub { - owner = "bundler"; - repo = "bundler"; - rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157"; - sha256 = "05275drvlrrlbync39qdw9nrsabb5yxcns7a7rk5c0ggsfc6hsnb"; + src = fetchgit { + url = "https://github.com/bundler/bundler.git"; + rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157"; + sha256 = "0q7cjmz1fsrw3yfsr3h274qjamwnw01xgaqq3h5cjbqlrni4iq7k"; + leaveDotGit = true; }; dontPatchShebangs = true; postInstall = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 302a4d7dce02..f08ecfeb5bd9 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 fetchFromGitHub; + inherit buildRubyGem coreutils fetchgit; }; defaultGemConfig = callPackage ../development/interpreters/ruby/bundler-env/default-gem-config.nix { }; buildRubyGem = callPackage ../development/interpreters/ruby/gem.nix { };