2022-10-11 06:10:32 +08:00
|
|
|
{
|
|
|
|
description = "WFVM: Windows Functional Virtual Machine";
|
|
|
|
|
|
|
|
inputs = {
|
2023-05-27 15:15:33 +08:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
2022-10-11 06:10:32 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs }:
|
|
|
|
let
|
|
|
|
# only x64 is supported
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
|
|
|
|
in {
|
|
|
|
lib = import ./wfvm {
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
2022-10-14 03:41:03 +08:00
|
|
|
|
|
|
|
packages.${system}.demoImage = import ./wfvm/demo-image.nix {
|
|
|
|
inherit self;
|
|
|
|
};
|
2022-10-11 06:10:32 +08:00
|
|
|
};
|
|
|
|
}
|