about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorThomas Tuegel2024-08-05 06:05:11 -0500
committerGitHub2024-08-05 06:05:11 -0500
commit9fef4f2b58201395be793a7052f2cb894939d1e0 (patch)
tree65266f223b3d77e1d129fb7f72a0bf656f239e0f /pkgs/shells
parent3b40ecea5c0a9dafba3e4785268d666635222b60 (diff)
parent2ddf16dbfe889d2cf8f3ae7e44cb7a5b7540946f (diff)
Merge pull request #321437 from viraptor/es-new-compiler
es: fix on new compilers
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/es/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/shells/es/default.nix b/pkgs/shells/es/default.nix
index b1f41c881d13..698cfc0c62a8 100644
--- a/pkgs/shells/es/default.nix
+++ b/pkgs/shells/es/default.nix
@@ -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 ];