feat: add packages to checks
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
c7e4d1d3e9
commit
303122dfc8
5 changed files with 28 additions and 3 deletions
|
@ -2,7 +2,8 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
self,
|
self,
|
||||||
}: let
|
}: let
|
||||||
apps = import ./apps.nix {inherit pkgs self;};
|
apps = import ./apps {inherit pkgs self;};
|
||||||
nixosMachines = import ./machines.nix {inherit pkgs self;};
|
devices = import ./devices {inherit pkgs self;};
|
||||||
|
packages = import ./packages {inherit pkgs self;};
|
||||||
in
|
in
|
||||||
apps // nixosMachines
|
apps // devices // packages
|
||||||
|
|
15
checks/packages/default.nix
Normal file
15
checks/packages/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
self,
|
||||||
|
}: let
|
||||||
|
inherit (pkgs.lib) elem filterAttrs hasAttr;
|
||||||
|
|
||||||
|
packages =
|
||||||
|
filterAttrs (
|
||||||
|
_: v:
|
||||||
|
!(hasAttr "platforms" v.meta)
|
||||||
|
|| elem pkgs.system v.meta.platforms
|
||||||
|
)
|
||||||
|
self.packages.${pkgs.system};
|
||||||
|
in
|
||||||
|
packages
|
|
@ -36,4 +36,13 @@ in
|
||||||
|
|
||||||
ronn --roff --pipe MANUAL.md > $out/man/man1/trash.1
|
ronn --roff --pipe MANUAL.md > $out/man/man1/trash.1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
mainProgram = "trash";
|
||||||
|
platforms = [
|
||||||
|
"x86_64-linux"
|
||||||
|
"i686-linux"
|
||||||
|
"x86_64-darwin"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue