git.iko.soy/typeable/nixpkgs
on master help sign in
ruby-modules: check tzinfo version

tzinfo 0.3.xx does not contain the file lib/tzinfo/zoneinfo_data_source.rb it is only included in the 1.x branch. closes #24080 closes #24682

commitd84029f2960784938de2bf32d03be367762aec04 authorMaximilian Güntner <code@sourcediver.org> dateThu 6 Apr 2017, 16:14 (10 years ago) parentc03b91c
1 file changed+1−1
pkgs/development/ruby-modules/gem-config/default.nix+1−1
pkgs/development/ruby-modules/gem-config/default.nix+1−1
@@ -211,7 +211,7 @@ in
211211 buildInputs = [ curl ];
212212 };
213213
214− tzinfo = attrs: {
214+ tzinfo = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0") {
215215 dontBuild = false;
216216 postPatch = ''
217217 substituteInPlace lib/tzinfo/zoneinfo_data_source.rb \