Commit aa3f97bb authored by Doron Behar's avatar Doron Behar
Browse files

picard: put pytestCheckHook in nativeCheckInputs

parent 4821782e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ pythonPackages.buildPythonApplication (finalAttrs: {
  nativeBuildInputs = [
    gettext
    qt5.wrapQtAppsHook
    pythonPackages.pytestCheckHook
  ]
  ++ lib.optionals (pyqt5.multimediaEnabled) [
    gst_all_1.gst-libav
@@ -67,6 +66,9 @@ pythonPackages.buildPythonApplication (finalAttrs: {
    "--localedir=${placeholder "out"}/share/locale"
  ];

  nativeCheckInputs = [
    pythonPackages.pytestCheckHook
  ];
  preCheck = ''
    export HOME=$(mktemp -d)
  '';