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)
This commit is contained in:
@@ -15,5 +15,7 @@ let
|
||||
packageLines = map (name: "${name}\t${allPackages.${name}.meta.description or ""}") visibleNames;
|
||||
|
||||
packageList = builtins.concatStringsSep "\n" packageLines;
|
||||
|
||||
flakeUrl = "git+https://git.millerson.name/alex/millerson-overlay.nix.git";
|
||||
in
|
||||
pkgs.callPackage ./package.nix { inherit packageList; }
|
||||
pkgs.callPackage ./package.nix { inherit packageList flakeUrl; }
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
nix,
|
||||
util-linux,
|
||||
packageList,
|
||||
flakeUrl,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -43,15 +44,15 @@ writeShellApplication {
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "→ Running: nix run git.millerson.name/alex/nix-overlay.git#$pkg_name"
|
||||
exec nix run "git.millerson.name/alex/nix-overlay.git#$pkg_name"
|
||||
echo "→ Running: nix run ${flakeUrl}#$pkg_name"
|
||||
exec nix run "${flakeUrl}#$pkg_name"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Interactive fzf launcher for millerson-overlay.nix packages";
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "millerson-overlay-launcher";
|
||||
platforms = platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user