about summary refs log tree commit diff
path: root/pkgs/development/python-modules/astropy-healpix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/astropy-healpix/default.nix')
-rw-r--r--pkgs/development/python-modules/astropy-healpix/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/astropy-healpix/default.nix b/pkgs/development/python-modules/astropy-healpix/default.nix
index fa04d6595e8bf..26be3405964c4 100644
--- a/pkgs/development/python-modules/astropy-healpix/default.nix
+++ b/pkgs/development/python-modules/astropy-healpix/default.nix
@@ -23,8 +23,13 @@ buildPythonPackage rec {
     hash = "sha256-3l0qfsl7FnBFBmlx8loVDR5AYfBxWb4jZJY02zbnl0Y=";
   };
 
+  postPatch = ''
+    substituteInPlace pyproject.toml --replace "numpy>=2.0.0rc1" "numpy"
+  '';
+
   nativeBuildInputs = [
     astropy-extension-helpers
+    numpy
     setuptools
     setuptools-scm
   ];