From 40a3596354d025e686e8e1203ea16862c7887afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Sun, 19 Jul 2026 14:09:45 +0200 Subject: [PATCH] nix: python3 is only needed for checks, not for the actual build --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 3d62a5e..55f95ee 100644 --- a/flake.nix +++ b/flake.nix @@ -33,16 +33,16 @@ version = "1.0"; src = ./.; - # python3 is needed by checkPhase: `make test-c` shells out to - # `python3 tools/run_tests.py` (see c/Makefile, PYTHON ?= python3). - nativeBuildInputs = with pkgs; [makeWrapper python3]; + nativeBuildInputs = with pkgs; [makeWrapper]; buildInputs = with pkgs; [ gcc gmp ]; - checkInputs = [pythonEnv]; + # python3 is needed by checkPhase: `make test-c` shells out to + # `python3 tools/run_tests.py` (see c/Makefile, PYTHON ?= python3). + nativeCheckInputs = with pkgs; [python3]; # Use x86-64-v3 (AVX2) for a portable binary; override with ARCH=native for local builds ARCH =