cross compile for windows and macOS
This commit is contained in:
parent
10932a1a97
commit
ff7ff5fb79
2 changed files with 61 additions and 36 deletions
|
@ -48,6 +48,12 @@
|
|||
packages = {
|
||||
inherit (pkgs) zenyx;
|
||||
default = pkgs.zenyx;
|
||||
windows = let
|
||||
pkgsCross = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
crossSystem = nixpkgs.lib.systems.examples.mingwW64;
|
||||
};
|
||||
in pkgsCross.callPackage ./default.nix {};
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue