From 033f964be0c695106eef74329524ad7b4b8dba14 Mon Sep 17 00:00:00 2001 From: mytheclipsebotreview Date: Thu, 20 Aug 2026 19:00:29 +0700 Subject: [PATCH] fix(nix): add perl to nativeBuildInputs for openssl-sys Configure openssl-sys vendors an OpenSSL source that runs ./Configure via perl during the build phase. The Nix sandbox had no perl on PATH, causing the gatekeeper build of the zesdex binary to fail ('Command failed ... openssl-build ... Configure'). Adding perl to nativeBuildInputs makes the vendored build resolve. This unblocks the GHA-only deploy workflow. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5a6e06a..c84dff6 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,7 @@ # Build only the main binary cargoBuildFlags = [ "-p" "zesdex-gateway" "--bin" "zesdex" ]; - nativeBuildInputs = with pkgs; [ pkg-config ]; + nativeBuildInputs = with pkgs; [ pkg-config perl ]; buildInputs = with pkgs; [ openssl sqlite ]; doCheck = false; # Tests require filesystem access