diff options
author | Weijia Wang | 2023-04-15 20:35:49 +0300 |
---|---|---|
committer | GitHub | 2023-04-15 20:35:49 +0300 |
commit | ea734f4e9a5c3ea7370ab6fe83de3b89f0a93492 (patch) | |
tree | c9e67fe0780e4d057485bc6e9190734c6a3e28d5 /pkgs | |
parent | 0e004d5dbf06ab1b0303d689eb5be16b16121e57 (diff) | |
parent | 4213fc7cde89d8508f27bd683f4047a462ee9652 (diff) |
Merge pull request #224357 from wegank/sasview-fix
sasview: fix build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/science/misc/sasview/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/sasview/default.nix b/pkgs/applications/science/misc/sasview/default.nix index ca94be96d64e..ddc0cdfa4e5b 100644 --- a/pkgs/applications/science/misc/sasview/default.nix +++ b/pkgs/applications/science/misc/sasview/default.nix @@ -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 |