diff options
author | Will Dietz <w@wdtz.org> | 2018-06-09 02:47:28 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-06-09 02:48:36 -0500 |
commit | 5b787eba2560086070d96e4ce82ea10ce66add2e (patch) | |
tree | 3faacb3616c1dc6bb28fcd4a9698eea2634348cf /pkgs/shells/tcsh | |
parent | 0afcfe1c49ac11ea5a7dcf630f24109ab8eab724 (diff) | |
download | nixlib-5b787eba2560086070d96e4ce82ea10ce66add2e.tar nixlib-5b787eba2560086070d96e4ce82ea10ce66add2e.tar.gz nixlib-5b787eba2560086070d96e4ce82ea10ce66add2e.tar.bz2 nixlib-5b787eba2560086070d96e4ce82ea10ce66add2e.tar.lz nixlib-5b787eba2560086070d96e4ce82ea10ce66add2e.tar.xz nixlib-5b787eba2560086070d96e4ce82ea10ce66add2e.tar.zst nixlib-5b787eba2560086070d96e4ce82ea10ce66add2e.zip |
tcsh: patch to fix w/musl
Diffstat (limited to 'pkgs/shells/tcsh')
-rw-r--r-- | pkgs/shells/tcsh/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/shells/tcsh/default.nix b/pkgs/shells/tcsh/default.nix index da76e2c3027a..1dc966559560 100644 --- a/pkgs/shells/tcsh/default.nix +++ b/pkgs/shells/tcsh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl +{ stdenv, fetchurl, fetchpatch , ncurses }: stdenv.mkDerivation rec { @@ -16,6 +16,13 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; + patches = stdenv.lib.optional stdenv.hostPlatform.isMusl + (fetchpatch { + name = "sysmalloc.patch"; + url = "https://git.alpinelinux.org/cgit/aports/plain/community/tcsh/001-sysmalloc.patch?id=184585c046cdd56512f1a76e426dd799b368f8cf"; + sha256 = "1qc6ydxhdfizsbkaxhpn3wib8sfphrw10xnnsxx2prvzg9g2zp67"; + }); + meta = with stdenv.lib;{ description = "An enhanced version of the Berkeley UNIX C shell (csh)"; longDescription = '' |