ecl: prefer fetchpath to fetchurl where appropriate

This commit is contained in:
Steve Purcell 2021-02-12 10:04:54 +13:00
parent 8628c90296
commit 5b65668814

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl {lib, stdenv, fetchurl, fetchpatch
, libtool, autoconf, automake , libtool, autoconf, automake
, texinfo , texinfo
, gmp, mpfr, libffi, makeWrapper , gmp, mpfr, libffi, makeWrapper
@ -37,10 +37,9 @@ stdenv.mkDerivation {
patches = [ patches = [
# https://gitlab.com/embeddable-common-lisp/ecl/-/merge_requests/1 # https://gitlab.com/embeddable-common-lisp/ecl/-/merge_requests/1
(fetchurl { (fetchpatch {
name = "write_error.patch";
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/ecl/patches/write_error.patch?h=9.2"; url = "https://git.sagemath.org/sage.git/plain/build/pkgs/ecl/patches/write_error.patch?h=9.2";
sha256 = "1lvdvh77blnxp0zbd27dsbq1ljkb5qblabf1illszn4j7qgq88fh"; sha256 = "0hfxacpgn4919hg0mn4wf4m8r7y592r4gw7aqfnva7sckxi6w089";
}) })
]; ];