infra-vintage/vmtools/flake.nix
teutat3s 589ed68eef
Use new flake default packages.<system>.default
Introduced in nix 2.7.0
https://discourse.nixos.org/t/nix-2-7-0-released/18072
defaultPackage.<system> got renamed to packages.<system>.default
2022-07-04 22:52:53 +02:00

24 lines
673 B
Nix

{
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
pkgs = import nixpkgs { inherit system; };
triton-vmtools = import ./pkgs/triton-vmtools.nix { inherit pkgs; };
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;
default = triton-vmtools;
};
});
}