From 4ca9130547ea132b7c1a60f6391144a2a0f4e814 Mon Sep 17 00:00:00 2001 From: osmaczko <33099791+osmaczko@users.noreply.github.com> Date: Thu, 21 May 2026 13:24:21 +0200 Subject: [PATCH] chore(flake): accept extra system attr; add perl for openssl-sys build forAllSystems calls the lambda with {system, pkgs}; strict destructuring requires `..` to ignore the system attribute. `pkgs.perl` is needed because openssl-sys is pulled vendored via libsqlite3-sys / rusqlite / chat-sqlite, and its `perl Configure` step needs FindBin.pm, which Fedora's system perl doesn't ship. --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e588d48..873dc45 100644 --- a/flake.nix +++ b/flake.nix @@ -79,7 +79,7 @@ } ); - devShells = forAllSystems ({ pkgs }: + devShells = forAllSystems ({ pkgs, ... }: let rustToolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust_toolchain.toml; in @@ -89,6 +89,7 @@ rustToolchain pkgs.pkg-config pkgs.cmake + pkgs.perl ]; }; }