flake: Test radicle-httpd in flake check

Also use the tested binary when running checks for radicle-explorer.
This commit is contained in:
Sebastian Martinez
2024-06-28 14:38:19 +02:00
parent 630aafba2f
commit b0f3c6318b
+2 -1
View File
@@ -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