Merge pull request #41740 from dtzWill/fix/tcsh-musl
tcsh: patch to fix w/musl
This commit is contained in:
commit
61f0c1ce87
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl, fetchpatch
|
||||||
, ncurses }:
|
, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ncurses ];
|
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;{
|
meta = with stdenv.lib;{
|
||||||
description = "An enhanced version of the Berkeley UNIX C shell (csh)";
|
description = "An enhanced version of the Berkeley UNIX C shell (csh)";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -33,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.tcsh.org/;
|
homepage = http://www.tcsh.org/;
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user