This commit is contained in:
@@ -15,6 +15,16 @@ in
|
||||
(import ./linux-devshell { inherit system inputs self pkgs; }) //
|
||||
(import ./windows-devshell { inherit system inputs self pkgs; }) //
|
||||
{
|
||||
affine-chatgpt-enrollment = pkgs.runCommand "affine-chatgpt-enrollment" {
|
||||
nativeBuildInputs = [ self.packages.${system}.affine-chatgpt pkgs.jq ];
|
||||
} ''
|
||||
export HOME="$TMPDIR/home"
|
||||
mkdir -p "$HOME"
|
||||
affine-chatgpt status > status.json
|
||||
jq -e '.authorized == false and .access_token_expired == true' status.json
|
||||
touch "$out"
|
||||
'';
|
||||
|
||||
pg-smtp-client-metadata =
|
||||
assert builtins.all (package: package.pname == "pg_smtp_client") smtpPackages;
|
||||
assert builtins.all (package: package.version == "0.2.0") smtpPackages;
|
||||
|
||||
Reference in New Issue
Block a user