From 83b6f6af383bf1330b748712328a33e4713a0bad Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Mon, 15 Apr 2024 17:19:27 +0200 Subject: [PATCH] checks: include packages --- checks/packages.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 checks/packages.nix diff --git a/checks/packages.nix b/checks/packages.nix new file mode 100644 index 0000000..9558874 --- /dev/null +++ b/checks/packages.nix @@ -0,0 +1,9 @@ +{ inputs, ... }: +let + inherit (inputs.nixpkgs) lib; +in +{ + perSystem = { self', ... }: { + checks = lib.mapAttrs' (name: value: lib.nameValuePair "package-${name}" value) self'.packages; + }; +}