about summary refs log tree commit diff
path: root/pkgs/shells/es/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/es/default.nix')
-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 ];