From 4880eacaeddb6dfe2ca30815025eed6c3884b063 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 26 Aug 2023 14:56:11 +0800 Subject: [PATCH] update anaconda --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 8a98c1e..7446272 100644 --- a/flake.nix +++ b/flake.nix @@ -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-2023.03-Linux-x86_64.sh"; - sha256 = "sha256-GXN9XCeyOh2HQMXLJBS/YlMYTOdF0KkSuyNaISoV4HU="; + url = "https://repo.anaconda.com/archive/Anaconda3-2023.07-2-Linux-x86_64.sh"; + sha256 = "sha256-WJ+zT+c7wwM3mrvOulDzExJU6Fzk582Bm6Qna6KcrRY="; }; condaInstallerEnv = pkgs.buildFHSEnv { name = "conda-installer-env"; @@ -43,7 +43,7 @@ installPhase = '' conda-installer-env -c "./conda-installer.sh -p $out -b" - substituteInPlace $out/lib/python3.10/site-packages/conda/gateways/disk/__init__.py \ + substituteInPlace $out/lib/python3.11/site-packages/conda/gateways/disk/__init__.py \ --replace "os.chmod(path, 0o2775)" "pass" ''; };