diff --git a/overlay/overlay.nix b/overlay/overlay.nix index 5909268a..f3e74679 100644 --- a/overlay/overlay.nix +++ b/overlay/overlay.nix @@ -87,6 +87,14 @@ in ) oldAttrs.buildInputs; }); + vboot_reference = super.vboot_reference.overrideAttrs(attrs: { + # https://github.com/NixOS/nixpkgs/pull/69039 + postPatch = '' + substituteInPlace Makefile \ + --replace "ar qc" '${self.stdenv.cc.bintools.targetPrefix}ar qc' + ''; + }); + # Things specific to mobile-nixos. # Not necessarily internals, but they probably won't go into . mobile-nixos = {