From fdaa34191c3103ccac348a1d3362a846c7fd9dee Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Thu, 22 Jan 2026 13:54:03 -0600 Subject: [PATCH] build2 --- packages/edk2-basetools/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/edk2-basetools/default.nix b/packages/edk2-basetools/default.nix index 8f425c0..42942f9 100644 --- a/packages/edk2-basetools/default.nix +++ b/packages/edk2-basetools/default.nix @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { chmod -R u+w . - patchShebangs ./edk2 + patchShebangs ./source runHook postUnpack ''; @@ -53,11 +53,11 @@ stdenv.mkDerivation rec { postPatch = '' # enable compilation using Clang # https://bugzilla.tianocore.org/show_bug.cgi?id=4620 - substituteInPlace edk2/BaseTools/Conf/tools_def.template --replace-fail \ + substituteInPlace source/BaseTools/Conf/tools_def.template --replace-fail \ 'DEFINE CLANGPDB_WARNING_OVERRIDES = ' \ 'DEFINE CLANGPDB_WARNING_OVERRIDES = -Wno-unneeded-internal-declaration ' - substituteInPlace edk2/BaseTools/Conf/tools_def.template \ + substituteInPlace source/BaseTools/Conf/tools_def.template \ --replace "-Werror" "-Werror -Wno-error=format-security" ''; @@ -65,15 +65,15 @@ stdenv.mkDerivation rec { export PYTHON_COMMAND=${python3}/bin/python export WORKSPACE=$PWD - make -C ./edk2/BaseTools + make -C ./source/BaseTools ''; installPhase = '' runHook preInstall mkdir -vp $out - mv -v ./edk2/BaseTools $out - mv -v ./edk2/edksetup.sh $out + mv -v ./source/BaseTools $out + mv -v ./source/edksetup.sh $out # patchShebangs fails to see these when cross compiling for i in $out/BaseTools/BinWrappers/PosixLike/*; do chmod +x "$i"