Merge pull request #321437 from viraptor/es-new-compiler

es: fix on new compilers
This commit is contained in:
Thomas Tuegel 2024-08-05 06:05:11 -05:00 committed by GitHub
commit 9fef4f2b58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 ];