Skip to content

Commit bcd2bfa

Browse files
committed
nix: install gmcli on NixOS and nix-darwin
1 parent 3268bff commit bcd2bfa

5 files changed

Lines changed: 56 additions & 0 deletions

File tree

nix-darwin/flake.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix-darwin/flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
inputs.nixpkgs.follows = "nixpkgs";
3737
};
3838

39+
gmcli = {
40+
url = "github:colonelpanic8/gmcli?ref=agent/json-archive-export";
41+
inputs.nixpkgs.follows = "nixpkgs";
42+
};
43+
3944
codex-cli-nix = {
4045
# Default branch is `main` on GitHub (not `master`).
4146
url = "github:sadjow/codex-cli-nix/main";

nix-shared/system/essential.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
};
3131
});
3232
coquiTtsStreamer = inputPackageOrNull "coqui-tts-streamer" "default";
33+
gmcli = inputPackageOrNull "gmcli" "default";
3334
keepbook = inputs.keepbook.packages.${system}.keepbook.overrideAttrs (_: {
3435
# Upstream checks currently depend on TS artifacts that are not built in Nix.
3536
doCheck = false;
@@ -85,6 +86,7 @@
8586
])
8687
++ lib.optionals (!isJayLenovo) [pkgs.bazel]
8788
++ lib.optionals (coquiTtsStreamer != null) [coquiTtsStreamer]
89+
++ lib.optionals (gmcli != null) [gmcli]
8890
++ lib.optionals (builtins.hasAttr "git-sync-rs" pkgs) [pkgs.git-sync-rs]);
8991

9092
linuxOnly = with pkgs; [

nixos/flake.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nixos/flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
};
5151
};
5252

53+
gmcli = {
54+
url = "github:colonelpanic8/gmcli?ref=agent/json-archive-export";
55+
inputs.nixpkgs.follows = "nixpkgs";
56+
};
57+
5358
keepbook = {
5459
url = "github:colonelpanic8/keepbook";
5560
inputs = {

0 commit comments

Comments
 (0)