From 8f99cf810f6a89e3111f0a19dfd60951378430f7 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 17 Nov 2025 08:31:58 +0000 Subject: [PATCH] build(nix): move pthreads to nativeBuildInputs for windows builds --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 4235f0c31..ca6562850 100644 --- a/flake.nix +++ b/flake.nix @@ -122,10 +122,10 @@ src = pkgs.lib.cleanSource ./.; nativeBuildInputs = [ pkgs.perl # Needed to build vendored OpenSSL. + pkgsWin64.windows.pthreads ]; depsBuildBuild = [ pkgsWin64.stdenv.cc - pkgsWin64.windows.pthreads ]; auditable = false; # Avoid cargo-auditable failures. doCheck = false; # Disable test as it requires network access. @@ -185,10 +185,10 @@ src = pkgs.lib.cleanSource ./.; nativeBuildInputs = [ pkgs.perl # Needed to build vendored OpenSSL. + pkgsWin32.windows.pthreads ]; depsBuildBuild = [ winCC - pkgsWin32.windows.pthreads ]; auditable = false; # Avoid cargo-auditable failures. doCheck = false; # Disable test as it requires network access.