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
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ in
|
|||
buildInputs = [ curl ];
|
||||
};
|
||||
|
||||
tzinfo = attrs: {
|
||||
tzinfo = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0") {
|
||||
dontBuild = false;
|
||||
postPatch = ''
|
||||
substituteInPlace lib/tzinfo/zoneinfo_data_source.rb \
|
||||
|
|
Loading…
Reference in a new issue