Hartmut Goebel <h.goe...@crazy-compilers.com> writes: > Hi, > > I'm currently working on django, the web application framework. > Unfortunalty some tests fail. These are all testing time- and timezone > calculations. > > Failures are like this: > > AssertionError: datetime.timedelta(0, 3600, 16) not less than > datetime.timedelta(0, 2) > > which means the returned time difference is ca. 1 hour, but allowed are > only 2 minutes. The testcase os this one > https://github.com/django/django/blob/master/tests/file_storage/tests.py#L239> > > I already added tzdata to native-inputs, but this does not solve the issue.
I think you need to tell it where to find timezone data as well. Try adding a phase like this: (add-before 'check 'set-tzdir (lambda* (#:key inputs #:allow-other-keys) (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")) #t)) Cheers, Marius