From 0852b7d5bb4191f46c966eb7c12a9ebf0b1f3015 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 30 Dec 2019 03:47:14 +0100 Subject: [PATCH] ksh: add patch to fix darwin build --- pkgs/shells/ksh/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/shells/ksh/default.nix b/pkgs/shells/ksh/default.nix index 075c843e684e..108d1a587580 100644 --- a/pkgs/shells/ksh/default.nix +++ b/pkgs/shells/ksh/default.nix @@ -1,4 +1,5 @@ -{ stdenv, meson, ninja, fetchFromGitHub, which, python, libiconv }: +{ stdenv, meson, ninja, fetchFromGitHub, which, python, fetchpatch +, libiconv }: stdenv.mkDerivation rec { pname = "ksh"; @@ -11,6 +12,13 @@ stdenv.mkDerivation rec { sha256 = "0cdxz0nhpq03gb9rd76fn0x1yzs2c8q289b7vcxnzlsrz1imz65j"; }; + patches = [ + (fetchpatch { + url = "https://github.com/att/ast/commit/11983a71f5e29df578b7e2184400728b4e3f451d.patch"; + sha256 = "1n9558c4v2qpgpjb1vafs29n3qn3z0770wr1ayc0xjf5z5j4g3kv"; + }) + ]; + nativeBuildInputs = [ meson ninja which python ]; buildInputs = [ libiconv ];