about summary refs log tree commit diff
path: root/pkgs/development/interpreters/icon-lang
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2020-02-21 12:19:25 +0100
committerKonrad Borowski <konrad@borowski.pw>2020-02-23 17:22:13 +0100
commit0302cbf42bde897a275087bc3d18dcdd7c4b4db5 (patch)
tree61c9ea86a77b948c5cf90de44289ace2619d91e5 /pkgs/development/interpreters/icon-lang
parentc38529df78e402f945a8d51439b2c92d2a249d86 (diff)
icon-lang: fix build
Diffstat (limited to 'pkgs/development/interpreters/icon-lang')
-rw-r--r--pkgs/development/interpreters/icon-lang/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/icon-lang/default.nix b/pkgs/development/interpreters/icon-lang/default.nix
index 0d3fe100329cc..d243ae9bc5802 100644
--- a/pkgs/development/interpreters/icon-lang/default.nix
+++ b/pkgs/development/interpreters/icon-lang/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, libX11, libXt , withGraphics ? true }:
+{ stdenv, fetchFromGitHub, fetchpatch, libX11, libXt, withGraphics ? true }:
 
 stdenv.mkDerivation rec {
   pname = "icon-lang";
@@ -12,6 +12,18 @@ stdenv.mkDerivation rec {
 
   buildInputs = stdenv.lib.optionals withGraphics [ libX11 libXt ];
 
+  patches = [
+    # Patch on git master, likely won't be necessary in future release
+    (fetchpatch {
+      url = "https://github.com/gtownsend/icon/commit/bfc4a6004d0d3984c8066289b8d8e563640c4ddd.patch";
+      sha256 = "1pqapjghk10rb73a1mfflki2wipjy4kvnravhmrilkqzb9hd6v8m";
+      excludes = [
+        "doc/relnotes.htm"
+        "src/h/version.h"
+      ];
+    })
+  ];
+
   configurePhase =
     let
       _name = if stdenv.isDarwin then "macintosh" else "linux";