From b0f3c6318b4d6e439a600e0dafdc0e493b01b2a1 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 28 Jun 2024 14:38:19 +0200 Subject: [PATCH] flake: Test radicle-httpd in flake check Also use the tested binary when running checks for radicle-explorer. --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index f7d5a4b5b..7aeffffc6 100644 --- a/flake.nix +++ b/flake.nix @@ -57,6 +57,7 @@ checks = { radicle-explorer = self.packages.${system}.radicle-explorer.override { doCheck = true; }; + radicle-httpd = self.packages.${system}.radicle-httpd.overrideAttrs (_: { doCheck = true; }); }; packages = { @@ -93,7 +94,7 @@ runHook preCheck bins=$(scripts/install-binaries -s) mkdir -p "$bins" - cp -t "$bins" -- ${heartwood.packages.${system}.default}/bin/* ${self.packages.${system}.radicle-httpd}/bin/* + cp -t "$bins" -- ${heartwood.packages.${system}.default}/bin/* ${self.checks.${system}.radicle-httpd}/bin/* scripts/check { npm run test:unit