@@ -1,4 +1,4 @@
1−{lib, stdenv, fetchurl, zlib, ncurses, fuse}:
1+{lib, stdenv, fetchurl, fetchpatch, zlib, ncurses, fuse}:
22
33stdenv.mkDerivation rec {
44 name = "wiimms-iso-tools";
@@ -11,7 +11,19 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ zlib ncurses fuse ];
1313
14− patches = [ ./fix-paths.diff ];
14+ patches = [
15+ ./fix-paths.diff
16+
17+ # Pull pending upstream fix for ncurses-6.3:
18+ # https://github.com/Wiimm/wiimms-iso-tools/pull/14
19+ (fetchpatch {
20+ name = "ncurses-6.3.patch";
21+ url = "https://github.com/Wiimm/wiimms-iso-tools/commit/3f1e84ec6915cc4f658092d33411985bd3eaf4e6.patch";
22+ sha256 = "18cfri4y1082phg6fzh402gk5ri24wr8ff4zl8v5rlgjndh610im";
23+ stripLen = 1;
24+ })
25+ ];
26+
1527 postPatch = ''
1628 patchShebangs setup.sh
1729 patchShebangs gen-template.sh