flake: add Hydra job for Windows build

This is a proof-of-concept; it works but requires manual fiddling with DLLs
(e.g. copy them from the Nix store into the Windows environment), and LLD
is not available on Windows.
This commit is contained in:
Sebastien Bourdeauducq 2021-12-02 22:29:42 +08:00
parent 4526c28edb
commit 22a509e7ce

View File

@ -115,6 +115,7 @@
hydraJobs = { hydraJobs = {
inherit (packages.x86_64-linux) nac3artiq; inherit (packages.x86_64-linux) nac3artiq;
mingw-nac3artiq = packages.x86_64-w64-mingw32.nac3artiq;
} // (pkgs.lib.foldr (a: b: {"${pkgs.lib.strings.getName a}" = a;} // b) {} devShell.x86_64-linux.buildInputs); } // (pkgs.lib.foldr (a: b: {"${pkgs.lib.strings.getName a}" = a;} // b) {} devShell.x86_64-linux.buildInputs);
}; };