From 75a235ab511353ad99f3b1bcf2a777dc76fc509a Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 5 Jul 2019 10:09:03 +0800 Subject: [PATCH] update conda-build --- artiq/conda-build.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/artiq/conda-build.nix b/artiq/conda-build.nix index 4ed0754..581b0dd 100644 --- a/artiq/conda-build.nix +++ b/artiq/conda-build.nix @@ -11,8 +11,8 @@ let # Use the full Anaconda distribution, which already contains conda-build and its many dependencies, # so we don't have to manually deal with them. condaInstaller = fetchurl { - url = "https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86_64.sh"; - sha256 = "006fgyz75ihd00qzbr1cny97xf1mwnzibbqyhskghraqgs2x068h"; + url = "https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh"; + sha256 = "0fmpdd5876ylds98mydmv5klnwlzasa461k0l1f4vhbw96vm3j25"; }; condaSrcChmod = runCommand "conda-src-chmod" { } "mkdir $out; cp ${condaInstaller} $out/conda-installer.sh; chmod +x $out/conda-installer.sh"; condaInstallerEnv = buildFHSUserEnv { @@ -23,6 +23,8 @@ let condaInstalled = runCommand "conda-installed" { } '' ${condaInstallerEnv}/bin/conda-installer-env -c "${condaSrcChmod}/conda-installer.sh -p $out -b" + substituteInPlace $out/lib/python3.7/site-packages/conda/gateways/disk/__init__.py \ + --replace "os.chmod(path, 0o2775)" "pass" ''; condaBuilderEnv = buildFHSUserEnv { name = "conda-builder-env";