diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-12-30 03:47:14 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-12-30 03:50:35 +0100 |
commit | 0852b7d5bb4191f46c966eb7c12a9ebf0b1f3015 (patch) | |
tree | 7eb012b70f3a7dde7b3299a2d823fc3261627929 /pkgs/shells/ksh | |
parent | 1a871b43824b79432fe06b9c15029961c4b0efb6 (diff) |
ksh: add patch to fix darwin build
Diffstat (limited to 'pkgs/shells/ksh')
-rw-r--r-- | pkgs/shells/ksh/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/shells/ksh/default.nix b/pkgs/shells/ksh/default.nix index 075c843e684e7..108d1a5875809 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 ]; |