wfvm/flake.nix

25 lines
462 B
Nix
Raw Normal View History

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;
};
packages.${system}.demoImage = import ./wfvm/demo-image.nix {
inherit self;
};
2022-10-11 06:10:32 +08:00
};
}