- Add meta.platforms to all packages for proper platform detection - Add passthru.category to mcp-gateway for consistency - Fix meta style inconsistency in mcp-gateway (lib.licenses → licenses) - Fix pythonImportsCheck in skillsmcp to actually validate the import - Remove empty maintainers list from skillsmcp - Add libclang to goose-cli nativeBuildInputs (fixes bindgen/llama-cpp-sys-2 build) - Add treefmt.toml with nixfmt formatter configuration - Add nixConfig.extra-substituters for binary cache support - Delete broken goose-cli/update.py (referenced missing scripts/updater.py) - Document nix-update usage in AGENTS.md for package updates - Fix stale project structure diagram in README
56 lines
1.4 KiB
Nix
56 lines
1.4 KiB
Nix
{
|
|
description = "Various packages for Nix";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [ "https://cache.nixos.org" ];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
systems.url = "github:nix-systems/default";
|
|
blueprint = {
|
|
url = "github:numtide/blueprint";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.systems.follows = "systems";
|
|
};
|
|
treefmt-nix = {
|
|
url = "github:numtide/treefmt-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
flake-parts = {
|
|
url = "github:hercules-ci/flake-parts";
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
bun2nix = {
|
|
# TODO(#4001): drop the branch pin once catalog support
|
|
# (nix-community/bun2nix#86) reaches the default branch.
|
|
url = "github:nix-community/bun2nix/staging-2.1.0";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.systems.follows = "systems";
|
|
inputs.treefmt-nix.follows = "treefmt-nix";
|
|
inputs.flake-parts.follows = "flake-parts";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs:
|
|
let
|
|
blueprintOutputs = inputs.blueprint {
|
|
inherit inputs;
|
|
nixpkgs.config.allowUnfree = true;
|
|
};
|
|
|
|
in
|
|
blueprintOutputs
|
|
// {
|
|
overlays = {
|
|
default = import ./overlays {
|
|
inherit (blueprintOutputs) packages;
|
|
};
|
|
shared-nixpkgs = import ./overlays/shared-nixpkgs.nix {
|
|
inherit (blueprintOutputs) mkPackagesFor;
|
|
};
|
|
};
|
|
};
|
|
}
|