diff --git a/pkgs/shells/tcsh/default.nix b/pkgs/shells/tcsh/default.nix index 1676d2f0845..72c97a46e3c 100644 --- a/pkgs/shells/tcsh/default.nix +++ b/pkgs/shells/tcsh/default.nix @@ -1,9 +1,9 @@ { lib , stdenv , fetchurl -, fetchpatch , libxcrypt , ncurses +, buildPackages }: stdenv.mkDerivation rec { @@ -16,19 +16,16 @@ stdenv.mkDerivation rec { }; strictDeps = true; + + depsBuildBuild = [ + buildPackages.stdenv.cc + ]; + buildInputs = [ libxcrypt ncurses ]; - patches = lib.optional stdenv.hostPlatform.isMusl - # Use system malloc - (fetchpatch { - name = "sysmalloc.patch"; - url = "https://git.alpinelinux.org/aports/plain/community/tcsh/001-sysmalloc.patch?id=184585c046cdd56512f1a76e426dd799b368f8cf"; - sha256 = "1qc6ydxhdfizsbkaxhpn3wib8sfphrw10xnnsxx2prvzg9g2zp67"; - }); - meta = with lib; { homepage = "https://www.tcsh.org/"; description = "An enhanced version of the Berkeley UNIX C shell (csh)";