mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 09:01:16 +00:00
codex indep
This commit is contained in:
parent
59d9d2bf14
commit
c692473fc8
3 changed files with 55 additions and 4 deletions
49
flake.lock
generated
49
flake.lock
generated
|
|
@ -17,6 +17,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"codex": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"rust-overlay": "rust-overlay"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1773430824,
|
||||||
|
"narHash": "sha256-Rq1IozLlXBCoiOBzwgRhIUAGKojWMaueVUX2qOj5vhs=",
|
||||||
|
"owner": "openai",
|
||||||
|
"repo": "codex",
|
||||||
|
"rev": "914f7c73175b038b4d396219754fe21ba6678af2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "openai",
|
||||||
|
"repo": "codex",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
|
|
@ -43,11 +64,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773361138,
|
"lastModified": 1773431608,
|
||||||
"narHash": "sha256-rfesDZC5H0q+i+C8f8qmwvnC/8n6G7hC/M3fxF4orVQ=",
|
"narHash": "sha256-VnbyLo7+0r7x/DOwqAFMzynH8qZi2nft3UgQBeo2ls8=",
|
||||||
"owner": "googleworkspace",
|
"owner": "googleworkspace",
|
||||||
"repo": "cli",
|
"repo": "cli",
|
||||||
"rev": "4b827cdd258db555cfccb2a66e02ef73d0a53fe2",
|
"rev": "fc873dcc0035bbe3a6f112be130dd07a33860fc8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -133,6 +154,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"codex": "codex",
|
||||||
"googleworkspace-cli": "googleworkspace-cli",
|
"googleworkspace-cli": "googleworkspace-cli",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
|
|
@ -140,6 +162,27 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rust-overlay": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"codex",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1769828398,
|
||||||
|
"narHash": "sha256-zmnvRUm15QrlKH0V1BZoiT3U+Q+tr+P5Osi8qgtL9fY=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "a1d32c90c8a4ea43e9586b7e5894c179d5747425",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
codex = {
|
||||||
|
url = "github:openai/codex";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
nix-homebrew = {
|
nix-homebrew = {
|
||||||
url = "github:zhaofengli-wip/nix-homebrew";
|
url = "github:zhaofengli-wip/nix-homebrew";
|
||||||
};
|
};
|
||||||
|
|
@ -29,6 +34,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nix-darwin,
|
nix-darwin,
|
||||||
home-manager,
|
home-manager,
|
||||||
|
codex,
|
||||||
nix-homebrew,
|
nix-homebrew,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@
|
||||||
}: let
|
}: let
|
||||||
gwsPackage =
|
gwsPackage =
|
||||||
inputs.googleworkspace-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
inputs.googleworkspace-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
|
codexPackage =
|
||||||
|
inputs.codex.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
|
|
||||||
memex = pkgs.stdenvNoCC.mkDerivation rec {
|
memex = pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
pname = "memex";
|
pname = "memex";
|
||||||
|
|
@ -79,7 +81,7 @@
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
awscli2
|
awscli2
|
||||||
codex
|
codexPackage
|
||||||
coreutils-prefixed
|
coreutils-prefixed
|
||||||
delta
|
delta
|
||||||
diff-so-fancy
|
diff-so-fancy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue