From a54461f7a1bc28bb082d7fb9ce3f2c178f854c5d Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Fri, 3 Jan 2020 23:05:16 -0500 Subject: [PATCH] graalvm8: use mercurial_4 Commit 88a473fc upgraded mercurial, made it use python3, and removed support for hg-git, breaking graalvm8. Since hg-git does not officially support python3 or the new version of mercurial, this patch uses mercurial_4. Closes #76527. --- pkgs/development/compilers/graalvm/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/graalvm/default.nix b/pkgs/development/compilers/graalvm/default.nix index 438c899f516..ec81063e67e 100644 --- a/pkgs/development/compilers/graalvm/default.nix +++ b/pkgs/development/compilers/graalvm/default.nix @@ -1,10 +1,11 @@ -{ stdenv, lib, fetchFromGitHub, fetchurl, fetchzip, fetchgit, mercurial, python27, setJavaClassPath, +{ stdenv, lib, fetchFromGitHub, fetchurl, fetchzip, fetchgit, mercurial_4, python27, setJavaClassPath, zlib, makeWrapper, openjdk, unzip, git, clang, llvm, which, icu, ruby, bzip2, glibc # gfortran, readline, bzip2, lzma, pcre, curl, ed, tree ## WIP: fastr deps }: let version = "19.1.1"; + mercurial = mercurial_4; truffleMake = ./truffle.make; makeMxGitCache = list: out: '' mkdir ${out}