25 lines
465 B
Nix
25 lines
465 B
Nix
{
|
|
description = "WFVM: Windows Functional Virtual Machine";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|