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
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:
@@ -27,12 +27,12 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
package:
|
package:
|
||||||
- custom.claude-code
|
- custom-claude-code
|
||||||
- custom.app-launcher-server
|
- custom-app-launcher-server
|
||||||
- custom.mcrcon-rbw
|
- custom-mcrcon-rbw
|
||||||
- custom.tea-rbw
|
- custom-tea-rbw
|
||||||
- custom.rclone-torbox-setup
|
- custom-rclone-torbox-setup
|
||||||
- qt-pinned.jellyfin-media-player
|
- qt-pinned-jellyfin-media-player
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
|
|||||||
22
flake.nix
22
flake.nix
@@ -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
|
# Flake apps
|
||||||
apps = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ] (system:
|
apps = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ] (system:
|
||||||
let
|
let
|
||||||
|
|||||||
Reference in New Issue
Block a user