Files
codex-controller-loop/flake.nix
eric a8c32031ff
Some checks failed
distribution-gate / distribution-gate (push) Failing after 1m58s
fix: do not truncate summaries
2026-04-05 15:19:37 +02:00

54 lines
1.3 KiB
Nix

{
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 = pkgs.callPackage ./nix/packages/codex-controller-loop.nix { };
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
codex-controller-loop
pkgs.rustc
pkgs.cargo
pkgs.clippy
pkgs.rustfmt
pkgs.rust-analyzer
];
};
}))
// {
overlays.default = final: prev: {
codex-controller-loop = final.callPackage ./nix/packages/codex-controller-loop.nix { };
};
};
}