Can't cross build glib

I’m trying to build glib using mingwW64 without success

let
        pkgs = (import <nixpkgs> {}).pkgsCross.mingwW64;
in
pkgs.mkShell {
        name = "cross-env";
        nativeBuildInputs = with pkgs; [
                glib
        ];
}
1 Like

Windows support is still in its infancy and pkgsCross isn’t very well supported either. This is not expected to work.