From 690c85afddaab6ac432a8cfc3560f48db46e3a83 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 24 Apr 2023 18:01:46 +0800 Subject: [PATCH] update anaconda --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index ef0a43a..a1c1b31 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-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" ''; };