Files
container/flake.nix

21 lines
580 B
Nix

{
description = "Container runtimes on macOS (and Linux) with minimal setup";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages.default = import ./colima.nix { inherit pkgs; };
devShell = import ./shell.nix { inherit pkgs; };
apps.default = {
type = "app";
program = "${self.packages.${system}.default}/bin/colima";
};
}
);
}