treewide: Use depsBuildBuild for buildPackges.stdenv.cc
This commit is contained in:
@@ -37,10 +37,11 @@ stdenv.mkDerivation rec {
|
||||
# Only the C compiler, and explicitly not C++ compiler needs this flag on solaris:
|
||||
CFLAGS = lib.optionalString stdenv.isSunOS "-D_XOPEN_SOURCE_EXTENDED";
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
] ++ lib.optionals (buildPlatform != hostPlatform) [
|
||||
buildPackages.ncurses buildPackages.stdenv.cc
|
||||
buildPackages.ncurses
|
||||
];
|
||||
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user