conda: update anaconda
This commit is contained in:
parent
0d01cb3a9c
commit
fa63931f5a
|
@ -27,8 +27,8 @@
|
||||||
condaDeps = with pkgs; [ zlib xorg.libSM xorg.libICE xorg.libX11 xorg.libXau xorg.libXi xorg.libXrender libselinux libGL ];
|
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.
|
# Use the full Anaconda distribution, which already contains conda-build and its many dependencies.
|
||||||
condaInstaller = pkgs.fetchurl {
|
condaInstaller = pkgs.fetchurl {
|
||||||
url = "https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh";
|
url = "https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh";
|
||||||
sha256 = "sha256-xTbdt7S6c4vdvU5YGykwjLMy+hKuP6LNZoFL1zXf8jE=";
|
sha256 = "sha256-O6CimBVcMvv9gMvCOCmFYL9pot9RF4MFSt/BUbdtgNg=";
|
||||||
};
|
};
|
||||||
condaInstallerEnv = pkgs.buildFHSEnv {
|
condaInstallerEnv = pkgs.buildFHSEnv {
|
||||||
name = "conda-installer-env";
|
name = "conda-installer-env";
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
conda-installer-env -c "./conda-installer.sh -p $out -b"
|
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"
|
--replace "os.chmod(path, 0o2775)" "pass"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue