2022-06-05 21:43:30 +00:00
|
|
|
{
|
|
|
|
description = "vmtools flake for nixos images on triton";
|
|
|
|
|
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
outputs = { self, flake-utils, nixpkgs }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
2022-06-06 01:03:12 +00:00
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
|
|
|
|
triton-vmtools = import ./pkgs/triton-vmtools.nix { inherit pkgs; };
|
2022-06-05 21:43:30 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
|
|
|
|
# Internal utility package with shell function and env vars helper.
|
|
|
|
# These get source'd in devshell.bash.extra when starting tritonshell
|
|
|
|
packages = {
|
|
|
|
triton-vmtools = triton-vmtools;
|
2022-07-04 20:52:53 +00:00
|
|
|
default = triton-vmtools;
|
2022-06-05 21:43:30 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|