From fa63931f5af1e0465b543e5ed4b48f36a0adedb5 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 16 Nov 2024 14:36:08 +0800 Subject: [PATCH] conda: update anaconda --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 4ad885e..5253bd8 100644 --- a/flake.nix +++ b/flake.nix @@ -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" ''; };