mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-11 09:04:01 +03:00
overlay: vboot_reference cross-compilation fix
This commit is contained in:
parent
0992b0f91d
commit
474f3caa0a
@ -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 <nixpkgs>.
|
||||
mobile-nixos = {
|
||||
|
Loading…
Reference in New Issue
Block a user