mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
0fc457d161
Without the change both `gcc-14` and `clag` `stdenv`s fil the build as: $ nix build --impure --expr 'with import ./. {}; libimobiledevice.override {stdenv = gcc14Stdenv; }' -L ... libimobiledevice> afcclient.c: In function 'print_file_info': libimobiledevice> afcclient.c:488:17: error: implicit declaration of function 'strftime' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] libimobiledevice> 488 | strftime(timebuf, 64, "%d %h %Y %H:%M:%S", localtime(&t)); libimobiledevice> | ^~~~~~~~ libimobiledevice> afcclient.c:75:1: note: include '<time.h>' or provide a declaration of 'strftime' libimobiledevice> 74 | #include <libimobiledevice-glue/utils.h> libimobiledevice> +++ |+#include <time.h> libimobiledevice> 75 | |
||
---|---|---|
.. | ||
default.nix |