nixpkgs/pkgs/data
Nicolas Benes 1654dc831c tzdata: enable cross-compilation for Windows
* Additional make flags are needed since some functions do not exist
    or have different names or parameters on Windows.

  * When compiling for Windows, GCC implicitly adds a `.exe` suffix to
    the output file name. A patch is needed for the `install` target
    to locate and install the correct files.

  * The tzdata Makefile contains `zic` and `ZIC` variables. The former
    refers to the path of the program to execute, while the latter
    invokes the former with additional arguments (it is defined as
    `ZIC=$(zic) $(ZFLAGS)`, `ZFLAGS` is normally empty).

    Previously, `ZIC` was overridden, potentially loosing `ZFLAGS`
    arguments. This commit changes it to override `zic` instead.

  * The `zic` program is built and installed as part of the package and
    also executed during the build to translate time-related files. When
    cross-compiling it means that two executables need to be compiled:
    one to get installed and run on the host platform, and another to
    run on the build platform. Instead of renaming files and building a
    temporary executable for the build platform, this commit references
    the build platform's `tzdata.bin` package and runs its `zic`
    program.
2022-10-01 21:55:18 +02:00
..
documentation stdman: 2021.12.21 -> 2022.07.30 2022-08-16 23:31:36 +00:00
fonts Merge pull request #193579 from erdnaxe/cooper-hewitt-make-derivation 2022-10-01 10:35:51 -05:00
icons Merge master into staging-next 2022-09-30 18:03:29 +00:00
machine-learning/mnist
misc tzdata: enable cross-compilation for Windows 2022-10-01 21:55:18 +02:00
sgml+xml Merge pull request #166509 from jtojnar/man-opt-nodup 2022-04-10 11:09:12 +01:00
soundfonts soundfont-generaluser: init at 1.471 2022-03-24 12:49:38 +02:00
themes Merge pull request #193248 from romildo/upd.generic-updater 2022-09-30 09:19:21 -03:00