Merge pull request #224357 from wegank/sasview-fix

sasview: fix build
This commit is contained in:
Weijia Wang 2023-04-15 20:35:49 +03:00 committed by GitHub
commit ea734f4e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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