mirror of
https://github.com/hanzoai/container.git
synced 2026-10-30 15:06:01 +00:00
21 lines
580 B
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";
|
|
};
|
|
}
|
|
);
|
|
}
|