sasview: fix build
This commit is contained in:
parent
6ca1fd3038
commit
4213fc7cde
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue