Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

html-tidy: fix on mingw

This doesn't fix the cross-build by itself due to
https://github.com/NixOS/nixpkgs/issues/14965
But in this case one can hack around that "easily" by:
(html-tidy.override {
inherit (/*non-cross nixpkgs eval*/)
cmake;
}).crossDrv

+3
+3
pkgs/tools/text/html-tidy/default.nix
··· 13 13 14 14 nativeBuildInputs = [ cmake libxslt/*manpage*/ ]; 15 15 16 + cmakeFlags = stdenv.lib.optional 17 + (stdenv.cross.libc or null == "msvcrt") "-DCMAKE_SYSTEM_NAME=Windows"; 18 + 16 19 # ATM bin/tidy is statically linked, as upstream provides no other option yet. 17 20 # https://github.com/htacg/tidy-html5/issues/326#issuecomment-160322107 18 21