Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6945557dba4525c41bf3e6b04e0d588a4bbd8432
      
https://github.com/NixOS/nixpkgs/commit/6945557dba4525c41bf3e6b04e0d588a4bbd8432
  Author: aszlig <[email protected]>
  Date:   2015-12-08 (Tue, 08 Dec 2015)

  Changed paths:
    M pkgs/development/interpreters/ruby/default.nix

  Log Message:
  -----------
  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 <[email protected]>


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to