summaryrefslogtreecommitdiff
path: root/release.nix
diff options
context:
space:
mode:
authorยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค2025-12-23 06:22:23 +0000
committerยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค2025-12-23 06:22:23 +0000
commit88e1e2f3c22fd24f5b3a47033526c627c8667464 (patch)
treee9b17868c2ae4e0e868485075aa409e52ab0ba50 /release.nix
parent8095f07850ecba1265b7a77154b2d316a88a4e99 (diff)
downloadnixtaml-88e1e2f3c22fd24f5b3a47033526c627c8667464.tar
nixtaml-88e1e2f3c22fd24f5b3a47033526c627c8667464.tar.gz
nixtaml-88e1e2f3c22fd24f5b3a47033526c627c8667464.tar.bz2
nixtaml-88e1e2f3c22fd24f5b3a47033526c627c8667464.tar.lz
nixtaml-88e1e2f3c22fd24f5b3a47033526c627c8667464.tar.xz
nixtaml-88e1e2f3c22fd24f5b3a47033526c627c8667464.tar.zst
nixtaml-88e1e2f3c22fd24f5b3a47033526c627c8667464.zip
nix/check: onset
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index fcb1a39..6e676e0 100644
--- a/release.nix
+++ b/release.nix
@@ -12,6 +12,8 @@ let
(import ./nix/overlay/check.nix)
];
};
+
+ inherit (pkgs) lib;
in
{
inherit (pkgs) nixtamal;
@@ -20,5 +22,14 @@ in
shell = pkgs.nixtamal.dev-shell;
- check = pkgs.nixtamal.check;
+ check = lib.concatMapAttrs (
+ parent: children:
+ if lib.isDerivation children then
+ { ${parent} = children; }
+ else
+ lib.mapAttrs' (child: value: {
+ name = "${parent}_${child}";
+ inherit value;
+ }) children
+ ) pkgs.nixtamal.check;
}