16b344c0ad
- define and validate the capability and resource-lock languages - provision workspace source repositories through Central Gitea - build package runtimes from pinned standalone sources - replace legacy schema compilation with workspace persistence plans - add stable optimistic registers and Automerge CRDT documents - modernize TypeScript/Nix package builds and runtime activation readiness
37 lines
1.6 KiB
Nix
37 lines
1.6 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/4d527898076eb6aa1151bcaab7dfbb447e3fa422&rev=4d527898076eb6aa1151bcaab7dfbb447e3fa422";
|
|
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";
|
|
in
|
|
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}"
|
|
'';
|
|
};
|
|
}
|