ksh: add patch to fix darwin build

This commit is contained in:
Franz Pletz 2019-12-30 03:47:14 +01:00
parent 1a871b4382
commit 0852b7d5bb
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -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 ];