fix: expose custom packages as flake outputs for CI caching
Some checks failed
CI / build-and-cache (custom-app-launcher-server) (push) Has been cancelled
CI / build-and-cache (custom-claude-code) (push) Has been cancelled
CI / build-and-cache (custom-mcrcon-rbw) (push) Has been cancelled
CI / build-and-cache (custom-rclone-torbox-setup) (push) Has been cancelled
CI / build-and-cache (custom-tea-rbw) (push) Has been cancelled
CI / build-and-cache (qt-pinned-jellyfin-media-player) (push) Has been cancelled
CI / check (push) Has been cancelled

Add packages output with:
- custom-* packages from packages/
- qt-pinned-jellyfin-media-player

Update CI to use hyphenated names (flake attrs can't have dots)
This commit is contained in:
mayor
2026-02-12 21:11:48 -08:00
committed by John Ogle
parent 3b640bf81a
commit d799bd2d32
2 changed files with 28 additions and 6 deletions

View File

@@ -27,12 +27,12 @@ jobs:
fail-fast: false
matrix:
package:
- custom.claude-code
- custom.app-launcher-server
- custom.mcrcon-rbw
- custom.tea-rbw
- custom.rclone-torbox-setup
- qt-pinned.jellyfin-media-player
- custom-claude-code
- custom-app-launcher-server
- custom-mcrcon-rbw
- custom-tea-rbw
- custom-rclone-torbox-setup
- qt-pinned-jellyfin-media-player
steps:
- uses: actions/checkout@v6

View File

@@ -234,6 +234,28 @@
];
};
# Packages for CI caching (custom packages and qt-pinned)
packages = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [ (mkBaseOverlay {}) ];
};
pkgsQt = import inputs.nixpkgs-qt {
inherit system;
config.allowUnfree = true;
};
in {
"custom-claude-code" = pkgs.custom.claude-code;
"custom-app-launcher-server" = pkgs.custom.app-launcher-server;
"custom-mcrcon-rbw" = pkgs.custom.mcrcon-rbw;
"custom-tea-rbw" = pkgs.custom.tea-rbw;
"custom-rclone-torbox-setup" = pkgs.custom.rclone-torbox-setup;
"qt-pinned-jellyfin-media-player" = pkgsQt.jellyfin-media-player;
}
);
# Flake apps
apps = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ] (system:
let