parent
1ce40f2c1a
commit
6ca0d7248b
329 changed files with 178 additions and 139 deletions
nixFastChecks/packages
18
nixFastChecks/packages/default.nix
Normal file
18
nixFastChecks/packages/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
self,
|
||||
}: let
|
||||
inherit (pkgs.lib) elem filterAttrs hasAttr mapAttrs' nameValuePair;
|
||||
|
||||
packages =
|
||||
filterAttrs (
|
||||
_: v:
|
||||
!(hasAttr "platforms" v.meta)
|
||||
|| elem pkgs.system v.meta.platforms
|
||||
)
|
||||
self.packages.${pkgs.system};
|
||||
in
|
||||
mapAttrs'
|
||||
(name: pkg:
|
||||
nameValuePair "pkg_${name}" pkg)
|
||||
packages
|
Loading…
Add table
Add a link
Reference in a new issue