46c8950a75
- run a singleton Codex App Server adapter in each dev workspace - gate Web Studio with a reloadable fragment-token to HttpOnly-session exchange - add ChatGPT device login and streamed chat to Web Studio - isolate authoring access in a declarative NixOS service account - split Web Studio canvas, object, panel, and model concerns - check generated Quixos protocol clients for drift - resolve same-repository quixos.lock fragments deterministically - preserve the collaborative canvas gesture fixes
50 lines
2.1 KiB
Nix
50 lines
2.1 KiB
Nix
{
|
|
description = "Quixos Camino package runtime helpers";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
quixos-protocol.url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git?ref=refs/tags/quixos-reachability/eabf721e9429a6dcd8db8cdcc078f96868b655aa&rev=eabf721e9429a6dcd8db8cdcc078f96868b655aa";
|
|
quixosNixHelpers = {
|
|
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/56bbcd22d17f8c7f120b1e0b5bd1d5a86e91a80a&rev=56bbcd22d17f8c7f120b1e0b5bd1d5a86e91a80a";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ nixpkgs, flake-utils, quixosNixHelpers, ... }:
|
|
let
|
|
quixosHelpers = import "${quixosNixHelpers}/quixos-package-helpers.nix";
|
|
packageOutputs = quixosHelpers.mkCaminoTsYarnNixifyFlake {
|
|
inherit inputs nixpkgs flake-utils;
|
|
packageRoot = ./.;
|
|
sourceName = "quixos-camino-package-runtime-source";
|
|
promptName = "camino-package-runtime";
|
|
nativeBuildInputs = { pkgs, ... }: [
|
|
pkgs.protobuf
|
|
];
|
|
buildEnv = { inputs, pkgs, system }: {
|
|
QUIXOS_PROTO_PATH = "${pkgs.protobuf}/include:${inputs.quixos-protocol.packages.${system}.default}/proto";
|
|
};
|
|
devShellPackages = { pkgs, ... }: [
|
|
pkgs.protobuf
|
|
];
|
|
devShellHook = { inputs, pkgs, system, ... }: ''
|
|
export QUIXOS_PROTO_PATH="${pkgs.protobuf}/include:${inputs.quixos-protocol.packages.${system}.default}/proto''${QUIXOS_PROTO_PATH:+:$QUIXOS_PROTO_PATH}"
|
|
'';
|
|
};
|
|
in
|
|
packageOutputs // flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
builtPackage = packageOutputs.packages.${system}.default;
|
|
in
|
|
{
|
|
checks.dist-current = pkgs.runCommand "camino-package-runtime-dist-current" { } ''
|
|
diff --recursive --unified \
|
|
${./dist} \
|
|
${builtPackage}/libexec/-quixos-camino-package-runtime/dist
|
|
touch "$out"
|
|
'';
|
|
});
|
|
}
|