8 lines
304 B
Nix
8 lines
304 B
Nix
|
{ vcpkg }:
|
||
|
vcpkg.overrideAttrs (prevAttrs: {
|
||
|
postPatch = ''
|
||
|
sed -i -E -e 's/aarch64-linux-gnu-(as|gcc|g++)/aarch64-unknown-linux-gnu-\1/' scripts/toolchains/linux.cmake
|
||
|
sed -i -E -e 's/arm-linux-gnueabihf-(as|gcc|g++)/armv7l-unknown-linux-gnueabihf-\1/' scripts/toolchains/linux.cmake
|
||
|
'';
|
||
|
})
|