From 7f00ab0cb6a8c85016c7a942567e2318aef14b22 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 27 Jul 2024 22:44:47 +0800 Subject: [PATCH] update conda, py3.12 --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 2af4ea1..4fa52f7 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.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" ''; };