add codex

This commit is contained in:
2026-04-23 22:41:00 +03:00
parent 5a5822b27e
commit b5247c7dc4
+19
View File
@@ -24,4 +24,23 @@
];
};
};
},
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
codex-cli-nix.url = "github:sadjow/codex-cli-nix";
};
outputs = { self, nixpkgs, codex-cli-nix }:
let
system = "x86_64-linux"; # or your system
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = [
codex-cli-nix.packages.${system}.default
];
};
};
}