use stdenv from pkgsCross on windows

This commit is contained in:
Clément DOUIN
2024-11-23 15:54:00 +01:00
parent 6f86884ab4
commit a9bb2d287f
+4 -1
View File
@@ -42,7 +42,10 @@ let
installManPages = false;
notmuch = hostPkgs.notmuch;
gpgme = hostPkgs.gpgme;
stdenv = hostPkgs.stdenv;
stdenv =
if hostPlatform.isWindows
then hostPkgs.pkgsCross.mingwW64.stdenv
else hostPkgs.stdenv;
};
in