From 90810cb934db4f724f16f2abb1a1d052ff8c1d30 Mon Sep 17 00:00:00 2001 From: ashisgreat22 Date: Sun, 22 Mar 2026 00:47:10 +0100 Subject: [PATCH] fix(flake): set vendorHash and skip tests in build vendorHash was empty, causing build failures. The hash was obtained by running the build once and using the error output. Tests are skipped because they require network access; CI runs them via the test workflow. Co-Authored-By: Claude Opus 4.6 --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ca7c684..d143495 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,7 @@ version = "0.1.0"; src = ./.; - vendorHash = ""; + vendorHash = "sha256-NbAa4QM/TI3BTuZs4glx9k3ZjSl2/2LQfKlQ7izR8Ho="; # Run: nix build .#packages.x86_64-linux.default # It will fail with the correct hash. Replace it here. @@ -30,6 +30,9 @@ nativeCheckInputs = with pkgs; [ ]; + # Tests require network; they run in CI instead. + checkPhase = ""; + meta = with pkgs.lib; { description = "Privacy-respecting, open metasearch engine"; homepage = "https://git.ashisgreat.xyz/penal-colony/kafka";