update anaconda
This commit is contained in:
parent
3fe8fe0dc6
commit
690c85afdd
|
@ -20,8 +20,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-2022.10-Linux-x86_64.sh";
|
||||
sha256 = "sha256-5+y8y8GX69fh8hHFnfLje8aVnQgfIjXTh+CMkCZmas0=";
|
||||
url = "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-x86_64.sh";
|
||||
sha256 = "sha256-GXN9XCeyOh2HQMXLJBS/YlMYTOdF0KkSuyNaISoV4HU=";
|
||||
};
|
||||
condaInstallerEnv = pkgs.buildFHSUserEnv {
|
||||
name = "conda-installer-env";
|
||||
|
@ -42,7 +42,7 @@
|
|||
installPhase =
|
||||
''
|
||||
conda-installer-env -c "./conda-installer.sh -p $out -b"
|
||||
substituteInPlace $out/lib/python3.9/site-packages/conda/gateways/disk/__init__.py \
|
||||
substituteInPlace $out/lib/python3.10/site-packages/conda/gateways/disk/__init__.py \
|
||||
--replace "os.chmod(path, 0o2775)" "pass"
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue