diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..a9fe259 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1665259268, + "narHash": "sha256-ONFhHBLv5nZKhwV/F2GOH16197PbvpyWhoO0AOyktkU=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c5924154f000e6306030300592f4282949b2db6c", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..47d5d54 --- /dev/null +++ b/flake.nix @@ -0,0 +1,19 @@ +{ + description = "WFVM: Windows Functional Virtual Machine"; + + inputs = { + }; + + outputs = { self, nixpkgs }: + let + # only x64 is supported + system = "x86_64-linux"; + + pkgs = nixpkgs.legacyPackages.${system}; + + in { + lib = import ./wfvm { + inherit pkgs; + }; + }; +}