Files
millerson-overlay.nix/flake.nix
Alexander Miroshnichenko 0fd5c71709 fix: resolve code quality issues, add CI, and improve maintainability
- Remove useless nixConfig block (cache.nixos.org is default)
- Remove manual container-use override; let blueprint auto-discover it
- Add nixosModules.default so README example works
- Fix default launcher: use correct parameterized flake URL
- Replace deprecated sha256 with hash in goose-cli fetchers
- Fix LIBCLANG_PATH to include /lib subdirectory for libclang.so
- Drop --release from goose-cli tests (faster, more debug info)
- Use builtins.toFile in flake-inputs to avoid ARG_MAX risk
- Add lib.warn when overlay has no packages for a system
- Add passthru.updateScript to goose-cli, container-use, skillsmcp
- Fix skillsmcp version to 0.2.0+unstable (pinned to commit, not tag)
- Replace with lib; with explicit references in all meta blocks
- Add update.py script for goose-cli (referenced in AGENTS.md)
- Expand .gitignore with result-* and .direnv/
- Add GitHub Actions CI workflow (nix flake check + build)
2026-05-08 06:02:12 +03:00

57 lines
1.6 KiB
Nix

{
description = "Various packages for Nix";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-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 =
{ self, ... }@inputs:
let
blueprintOutputs = inputs.blueprint {
inherit inputs;
# allowUnfree is needed for packages that depend on pre-built
# binaries (e.g., goose-cli's librusty_v8)
nixpkgs.config.allowUnfree = true;
};
in
blueprintOutputs
// {
overlays = {
default = import ./overlays {
inherit (blueprintOutputs) packages;
};
shared-nixpkgs = import ./overlays/shared-nixpkgs.nix {
inherit (blueprintOutputs) mkPackagesFor;
};
};
nixosModules.default = {
nixpkgs.overlays = [ self.overlays.default ];
};
};
}