efivar: fix cross compilation

This commit is contained in:
Benno Fünfstück 2018-11-28 13:06:23 +01:00 committed by Robin Gloster
parent 24865963f0
commit a5a239ca2d

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, popt }:
{ stdenv, buildPackages, fetchFromGitHub, pkgconfig, popt }:
stdenv.mkDerivation rec {
name = "efivar-${version}";
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
makeFlags = [
"prefix=$(out)"