Commit be6f48bc authored by Audrey Dutcher's avatar Audrey Dutcher
Browse files

nixos-render-docs: move pytestCheckHook to nativeCheckInputs

Previously, it was in nativeBuildInputs which caused tests to run while
cross compiling. This attempts to run host python on the build machine.
parent b4744ad4
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -38,9 +38,12 @@ python.pkgs.buildPythonApplication rec {
    src = ./src;
  };

  nativeBuildInputs = with python.pkgs; [
    setuptools
    pytestCheckHook
  nativeCheckInputs = [
    python.pkgs.pytestCheckHook
  ];

  build-system = [
    python.pkgs.setuptools
  ];

  propagatedBuildInputs = with python.pkgs; [