3
0
Fork 0
forked from mirrors/nixpkgs

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 { stdenv.mkDerivation rec {
name = "kexec-tools-${version}"; name = "kexec-tools-${version}";
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" "pic" "relro" ]; hardeningDisable = [ "format" "pic" "relro" ];
nativeBuildInputs = [ buildPackages.stdenv.cc ];
buildInputs = [ zlib ]; buildInputs = [ zlib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {