3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/ruby
zimbatm 7aee32121a
ruby: make the build reproducible
ext/io/console/io-console.gemspec was embedding a timestamp which made
the build not reproducible. Gems respect SOURCE_DATE_EPOCH so it's
enough to just delete that line if it exists.

This file has been fixed in
679a941d05 (diff-d8422f096931c58d4463e2489f62a228b0f24f0492950ba88c8c89a0d741cfe6)
And then ruby regularly merges that gem into their own repository. Ruby
master is fixed but none of the ruby releases have been fixed yet.

lib/ruby/gems/2.6.0/specifications/default/io-console-0.4.7.gemspec now
contains:

    s.date = "1980-01-01"
2020-10-27 14:20:08 +01:00
..
rubygems Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2" 2020-10-26 08:19:17 +01:00
config.nix
default.nix ruby: make the build reproducible 2020-10-27 14:20:08 +01:00
dev.nix
patchsets.nix ruby_2_7: 2.7.1 -> 2.7.2 2020-10-06 09:45:39 +02:00
rbconfig.rb ruby: install ri docs to devdoc output 2019-05-07 17:08:08 +00:00
ruby-version.nix
rvm-patchsets.nix ruby: update RVM patchsets 2020-10-06 09:45:39 +02:00