es: fix on new compilers

This commit is contained in:
Stanisław Pitucha 2024-06-21 15:53:11 +10:00
parent 2873030a27
commit 2ddf16dbfe

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, readline, bison }:
{ lib, stdenv, fetchpatch, fetchurl, readline, bison }:
stdenv.mkDerivation rec {
@ -17,6 +17,15 @@ stdenv.mkDerivation rec {
sourceRoot=.
'';
patches = [
(fetchpatch {
# https://github.com/wryun/es-shell/pull/101
name = "new-compiler-issues.patch";
url = "https://github.com/wryun/es-shell/commit/1eafb5fc4be735e59c9a091cc30adbca8f86fd96.patch";
hash = "sha256-0CV1seEiH6PsUnq0akPLiRMy+kIb9qnAK7Ta4I47i60=";
})
];
strictDeps = true;
nativeBuildInputs = [ bison ];
buildInputs = [ readline ];