forked from M-Labs/wfvm
25 lines
462 B
Nix
25 lines
462 B
Nix
{
|
|
description = "WFVM: Windows Functional Virtual Machine";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
|
};
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|