2022-10-11 06:10:32 +08:00
|
|
|
{
|
|
|
|
description = "WFVM: Windows Functional Virtual Machine";
|
|
|
|
|
|
|
|
inputs = {
|
2022-10-13 01:04:51 +08:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
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
|
|
|
};
|
|
|
|
}
|