Commit 44e8a77f authored by Raito Bezarius's avatar Raito Bezarius Committed by github-actions[bot]
Browse files

edk2: fix cross compilation

`libuuid` is actually a dependency of the host platform and
should not be tucked in `depBuildBuild`.

Also, we don't need `buildPackages.util-linux` for the compilation.

(cherry picked from commit ff3adab3)
parent 7720124f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -60,7 +60,8 @@ edk2 = stdenv.mkDerivation rec {
  '';

  nativeBuildInputs = [ pythonEnv ];
  depsBuildBuild = [ buildPackages.stdenv.cc buildPackages.util-linux buildPackages.bash ];
  depsBuildBuild = [ buildPackages.stdenv.cc buildPackages.bash ];
  depsHostHost = [ libuuid ];
  strictDeps = true;

  # trick taken from https://src.fedoraproject.org/rpms/edk2/blob/08f2354cd280b4ce5a7888aa85cf520e042955c3/f/edk2.spec#_319