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
This commit is contained in:
parent
c03b91cdcf
commit
d84029f296
@ -211,7 +211,7 @@ in
|
|||||||
buildInputs = [ curl ];
|
buildInputs = [ curl ];
|
||||||
};
|
};
|
||||||
|
|
||||||
tzinfo = attrs: {
|
tzinfo = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0") {
|
||||||
dontBuild = false;
|
dontBuild = false;
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace lib/tzinfo/zoneinfo_data_source.rb \
|
substituteInPlace lib/tzinfo/zoneinfo_data_source.rb \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user