kexectools: Add dependency on build CC

Seems to allow cross-compilation.
This commit is contained in:
Ben Gamari 2017-10-17 16:05:03 -04:00 committed by Will Dietz
parent 3413562111
commit f33a75a658

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib }:
{ stdenv, buildPackages, fetchurl, zlib }:
stdenv.mkDerivation rec {
name = "kexec-tools-${version}";
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" "pic" "relro" ];
nativeBuildInputs = [ buildPackages.stdenv.cc ];
buildInputs = [ zlib ];
meta = with stdenv.lib; {