affine from docker
runner nix smoke / nix label and flake smoke (push) Failing after 18s

This commit is contained in:
2026-10-26 20:30:58 +00:00
parent acd7612e7c
commit f52861ffb8
16 changed files with 1436 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
{ system, self, pkgs, ... }:
pkgs.lib.optionalAttrs (system == "x86_64-linux") {
affine-runtime = pkgs.runCommand "affine-runtime" {
nativeBuildInputs = [
pkgs.dash
pkgs.curl
pkgs.jq
pkgs.nodejs_22
(pkgs.postgresql_16.withPackages (ps: [ ps.pgvector ]))
pkgs.redis
];
AFFINE_PACKAGE = self.packages.${system}.affine;
AFFINE_CLIENT_TEST = ./test/client.cjs;
} ''
dash ${./test/runtime.sh}
touch "$out"
'';
}