nix: python3 is only needed for checks, not for the actual build
This commit is contained in:
@@ -33,16 +33,16 @@
|
|||||||
version = "1.0";
|
version = "1.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
# python3 is needed by checkPhase: `make test-c` shells out to
|
nativeBuildInputs = with pkgs; [makeWrapper];
|
||||||
# `python3 tools/run_tests.py` (see c/Makefile, PYTHON ?= python3).
|
|
||||||
nativeBuildInputs = with pkgs; [makeWrapper python3];
|
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
gcc
|
gcc
|
||||||
gmp
|
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
|
# Use x86-64-v3 (AVX2) for a portable binary; override with ARCH=native for local builds
|
||||||
ARCH =
|
ARCH =
|
||||||
|
|||||||
Reference in New Issue
Block a user