Unverified Commit ea734f4e authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #224357 from wegank/sasview-fix

sasview: fix build
parents 0e004d5d 4213fc7c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -25,6 +25,12 @@ python3.pkgs.buildPythonApplication rec {
    })
  ];

  # AttributeError: module 'numpy' has no attribute 'float'.
  postPatch = ''
    substituteInPlace src/sas/sascalc/pr/p_invertor.py \
      --replace "dtype=np.float)" "dtype=float)"
  '';

  nativeBuildInputs = [
    python3.pkgs.pyqt5
    wrapQtAppsHook