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
28 lines
798 B
Nix
28 lines
798 B
Nix
{
|
|
description = "clawdbot plugin: sonoscli";
|
|
|
|
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 {};
|
|
sonoscli = packagesForSystem.sonoscli or null;
|
|
in {
|
|
packages.${system} = if sonoscli == null then {} else { sonoscli = sonoscli; };
|
|
|
|
clawdbotPlugin = if sonoscli == null then null else {
|
|
name = "sonoscli";
|
|
skills = [ ./skills/sonoscli ];
|
|
packages = [ sonoscli ];
|
|
needs = {
|
|
stateDirs = [];
|
|
requiredEnv = [];
|
|
};
|
|
};
|
|
};
|
|
}
|