fix(packages): gate codex on platform support
This commit is contained in:
parent
e019a60b4e
commit
15561a3201
3 changed files with 30 additions and 6 deletions
13
flake.nix
13
flake.nix
|
|
@ -228,9 +228,16 @@
|
|||
|
||||
formatter = forEachSystem (system: (mkPkgs system).nixfmt);
|
||||
|
||||
checks = forEachSystem (system: {
|
||||
inherit (self.packages.${system}) cf codex;
|
||||
});
|
||||
checks = forEachSystem (
|
||||
system:
|
||||
let
|
||||
customPkgs = self.packages.${system};
|
||||
in
|
||||
{
|
||||
inherit (customPkgs) cf;
|
||||
}
|
||||
// lib.optionalAttrs (customPkgs ? codex) { inherit (customPkgs) codex; }
|
||||
);
|
||||
|
||||
packages = forEachSystem (
|
||||
system:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue