From 6945557dba4525c41bf3e6b04e0d588a4bbd8432 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 8 Dec 2015 02:51:08 +0100 Subject: [PATCH] ruby: Fix SHA256 hashes of several versions. According to @zimbatm, he got the SHA256 hashes via nix-prefetch-git. However, fetchFromGitHub doesn't use Git to fetch the sources but uses fetchzip under the hood, so we get plain source directories in the Nix store, which in turn are hashed. Tested by: nix-build --no-out-link -E 'map (x: (builtins.getAttr x (import ./. {})).src ) [ "ruby_1_9_3" "ruby_2_0_0" "ruby_2_1_0" "ruby_2_1_1" "ruby_2_1_2" "ruby_2_1_3" "ruby_2_1_6" "ruby_2_1_7" "ruby_2_2_0" "ruby_2_2_2" "ruby_2_2_3" ]' Signed-off-by: aszlig --- pkgs/development/interpreters/ruby/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index 2567db0736a5..e5e17e142f41 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -153,7 +153,7 @@ in { patchLevel = "647"; sha256 = { src = "1v2vbvydarcx5801gx9lc6gr6dfi0i7qbzwhsavjqbn79rdsz2n8"; - git = "bd9b6cc8ea984b38d245fb3be1b918ec677f29f394ede43bbf5cf00e88edd899"; + git = "186pf4q9xymzn4zn1sjppl1skrl5f0159ixz5cz8g72dmmynq3g3"; }; }; @@ -219,7 +219,7 @@ in { patchLevel = "0"; sha256 = { src = "10fxlqmpbq9407zgsx060q22yj4zq6c3czbf29h7xk1rmjb1b77m"; - git = "c5ecad94558547b6a50cf64d379829fecd62f3ca175626827f435237a3c6be5c"; + git = "1fmbqd943akqjwsfbj9bg394ac46qmpavm8s0kv2w87rflrjcjfb"; }; }; @@ -252,7 +252,7 @@ in { patchLevel = "0"; sha256 = { src = "1kpdf7f8pw90n5bckpl2idzggk0nn0240ah92sj4a1w6k4pmyyfz"; - git = "a62301ca31ef23c9ae88ca68c925df5c0cbf4319265befc3a2fa27a56213cb88"; + git = "1ssq3c23ay57ypfis47y2n817hfmb71w0xrdzp57j6bv12jqmgrx"; }; }; }