should fix python now

This commit is contained in:
alsaiduq-lab 2025-03-30 03:47:35 -06:00
parent 8ed99daa24
commit c95c2af3d5
3 changed files with 2 additions and 21 deletions

View file

@ -11,20 +11,6 @@
};
});
customPydantic = pkgs.python311Packages.override {
overrides = self: super: {
numpy = numpy-1;
pydantic = super.pydantic.overridePythonAttrs (oldAttrs: rec {
version = "1.10.18";
src = pkgs.fetchPypi {
pname = "pydantic";
inherit version;
sha256 = "uuvf8ZB9HZahOcJRNqm7fRfhGPEzp2ou87hF6DHjQDo=";
};
nativeBuildInputs = oldAttrs.nativeBuildInputs or [] ++ [ self.setuptools ];
});
};
};
in {
fish-rust = pkgs.callPackage ./fish-rust {};
@ -53,6 +39,5 @@ in {
python-ngx-lsp = pkgs.callPackage ./python-nginx-language-server {
inherit lib;
fetchFromGitHub = pkgs.fetchFromGitHub;
python311Packages = customPydantic;
};
}