From 6ae3b95f56fa98c3ac145212969906b84b02fbf4 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 31 Mar 2023 09:35:05 +0800 Subject: tcsh: fix cross compilation --- pkgs/shells/tcsh/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/shells/tcsh/default.nix') diff --git a/pkgs/shells/tcsh/default.nix b/pkgs/shells/tcsh/default.nix index 1676d2f0845..b5f87a1ef65 100644 --- a/pkgs/shells/tcsh/default.nix +++ b/pkgs/shells/tcsh/default.nix @@ -4,6 +4,7 @@ , fetchpatch , libxcrypt , ncurses +, buildPackages }: stdenv.mkDerivation rec { @@ -16,6 +17,11 @@ stdenv.mkDerivation rec { }; strictDeps = true; + + depsBuildBuild = [ + buildPackages.stdenv.cc + ]; + buildInputs = [ libxcrypt ncurses -- cgit 1.4.1