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