update conda, py3.12
This commit is contained in:
parent
d5c99474ed
commit
7f00ab0cb6
@ -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.06-1-Linux-x86_64.sh";
|
||||
sha256 = "1xx8a7jmyd93lkj9zvhmdn66zv10k421n6zszp85imsjk8yv96sk";
|
||||
};
|
||||
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"
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user