This commit is contained in:
eric
2026-04-04 05:57:58 +02:00
commit 97f329c825
55 changed files with 10026 additions and 0 deletions

48
flake.nix Normal file
View 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
];
};
}
);
}