mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +03:00
efivar: fix cross compilation
This commit is contained in:
parent
24865963f0
commit
a5a239ca2d
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, popt }:
|
{ stdenv, buildPackages, fetchFromGitHub, pkgconfig, popt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "efivar-${version}";
|
name = "efivar-${version}";
|
||||||
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ popt ];
|
buildInputs = [ popt ];
|
||||||
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"prefix=$(out)"
|
"prefix=$(out)"
|
||||||
|
Loading…
Reference in New Issue
Block a user