conda: update anaconda

This commit is contained in:
Sebastien Bourdeauducq 2024-11-16 14:36:08 +08:00
parent 0d01cb3a9c
commit fa63931f5a

View File

@ -27,8 +27,8 @@
condaDeps = with pkgs; [ zlib xorg.libSM xorg.libICE xorg.libX11 xorg.libXau xorg.libXi xorg.libXrender libselinux libGL ];
# Use the full Anaconda distribution, which already contains conda-build and its many dependencies.
condaInstaller = pkgs.fetchurl {
url = "https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh";
sha256 = "sha256-xTbdt7S6c4vdvU5YGykwjLMy+hKuP6LNZoFL1zXf8jE=";
url = "https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh";
sha256 = "sha256-O6CimBVcMvv9gMvCOCmFYL9pot9RF4MFSt/BUbdtgNg=";
};
condaInstallerEnv = pkgs.buildFHSEnv {
name = "conda-installer-env";
@ -50,7 +50,7 @@
installPhase =
''
conda-installer-env -c "./conda-installer.sh -p $out -b"
substituteInPlace $out/lib/python3.11/site-packages/conda/gateways/disk/__init__.py \
substituteInPlace $out/lib/python3.12/site-packages/conda/gateways/disk/__init__.py \
--replace "os.chmod(path, 0o2775)" "pass"
'';
};