add codex
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user