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.
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
# Build only the main binary
|
# Build only the main binary
|
||||||
cargoBuildFlags = [ "-p" "zesdex-gateway" "--bin" "zesdex" ];
|
cargoBuildFlags = [ "-p" "zesdex-gateway" "--bin" "zesdex" ];
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
nativeBuildInputs = with pkgs; [ pkg-config perl ];
|
||||||
buildInputs = with pkgs; [ openssl sqlite ];
|
buildInputs = with pkgs; [ openssl sqlite ];
|
||||||
|
|
||||||
doCheck = false; # Tests require filesystem access
|
doCheck = false; # Tests require filesystem access
|
||||||
|
|||||||
Reference in New Issue
Block a user