From 77c96388986106b4b40d1d158aa60bd08a332aa4 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Tue, 18 Oct 2022 11:22:05 +0200 Subject: [PATCH] klipper: add numpy to buildInputs This is required for resonance measurement using `TEST_RESONANCES`. See also https://www.klipper3d.org/Measuring_Resonances.html --- pkgs/servers/klipper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/klipper/default.nix b/pkgs/servers/klipper/default.nix index dc41a9546c9..f543bf03d92 100644 --- a/pkgs/servers/klipper/default.nix +++ b/pkgs/servers/klipper/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { # NB: This is needed for the postBuild step nativeBuildInputs = [ (python3.withPackages ( p: with p; [ cffi ] )) ]; - buildInputs = [ (python3.withPackages (p: with p; [ cffi pyserial greenlet jinja2 markupsafe ])) ]; + buildInputs = [ (python3.withPackages (p: with p; [ cffi pyserial greenlet jinja2 markupsafe numpy ])) ]; # we need to run this to prebuild the chelper. postBuild = ''