nix-steipete-tools/tools/oracle/flake.nix
Josh Palmer 5234375e15 🤖 codex: add linux builds (no-issue)
What:
- add linux outputs and source build for summarize; plugin flakes now follow current system
- expand update-tools to handle per-system assets and summarize source/pnpm hash
- include linux checks in garnix and docs updates

Why:
- enable linux users to consume supported tools and summarize via Nix

Tests:
- ubs --diff
- nix flake check
- nix flake check --all-systems
- nix build .#summarize
- ./result/bin/summarize --version
2026-01-08 15:23:59 +01:00

28 lines
778 B
Nix

{
description = "clawdbot plugin: oracle";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs?rev=16c7794d0a28b5a37904d55bcca36003b9109aaa&narHash=sha256-fFUnEYMla8b7UKjijLnMe%2BoVFOz6HjijGGNS1l7dYaQ%3D";
root.url = "path:../..";
};
outputs = { self, nixpkgs, root }:
let
system = builtins.currentSystem;
packagesForSystem = root.packages.${system} or {};
oracle = packagesForSystem.oracle or null;
in {
packages.${system} = if oracle == null then {} else { oracle = oracle; };
clawdbotPlugin = if oracle == null then null else {
name = "oracle";
skills = [ ./skills/oracle ];
packages = [ oracle ];
needs = {
stateDirs = [];
requiredEnv = [];
};
};
};
}