···108 sed -i configure.ac -e '/config.guess/d'
109 cp --remove-destination ${config}/config.guess tool/
110 cp --remove-destination ${config}/config.sub tool/
000111 '';
112113 # Force the revision.h generation. Somehow `revision.tmp` is an empty
···108 sed -i configure.ac -e '/config.guess/d'
109 cp --remove-destination ${config}/config.guess tool/
110 cp --remove-destination ${config}/config.sub tool/
111+ # Make the build reproducible for ruby <= 2.7
112+ # See https://github.com/ruby/io-console/commit/679a941d05d869f5e575730f6581c027203b7b26#diff-d8422f096931c58d4463e2489f62a228b0f24f0492950ba88c8c89a0d741cfe6
113+ sed -i ext/io/console/io-console.gemspec -e '/s\.date/d'
114 '';
115116 # Force the revision.h generation. Somehow `revision.tmp` is an empty
+1-1
pkgs/development/ruby-modules/gem/default.nix
···207 # looks like useless files which break build repeatability and consume space
208 pushd $out/${ruby.gemPath}
209 rm -fv doc/*/*/created.rid || true
210- rm -fv {gems/*/ext/*,extensions/*/*/*}/{mkmf.log,gem_make.out} || true
211 rm -fvr cache
212 popd
213
···207 # looks like useless files which break build repeatability and consume space
208 pushd $out/${ruby.gemPath}
209 rm -fv doc/*/*/created.rid || true
210+ rm -fv {gems/*/ext/*,extensions/*/*/*}/{Makefile,mkmf.log,gem_make.out} || true
211 rm -fvr cache
212 popd
213