feat: ui
This commit is contained in:
48
flake.nix
Normal file
48
flake.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
description = "Standalone Codex controller loop framework";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
codex-controller-loop = import ./nix/packages/codex-controller-loop.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
inherit codex-controller-loop;
|
||||
default = codex-controller-loop;
|
||||
};
|
||||
|
||||
apps = {
|
||||
codex-controller-loop = {
|
||||
type = "app";
|
||||
program = "${codex-controller-loop}/bin/codex-controller-loop";
|
||||
};
|
||||
default = self.apps.${system}.codex-controller-loop;
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.git
|
||||
pkgs.rustc
|
||||
pkgs.cargo
|
||||
pkgs.clippy
|
||||
pkgs.rustfmt
|
||||
pkgs.rust-analyzer
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user