cross: mepo: fix ld-linux path

This commit is contained in:
2023-08-06 08:53:59 +00:00
parent 24a91acd0a
commit 18c6ad0663

View File

@@ -848,6 +848,8 @@ in {
mepo = prev.mepo.overrideAttrs (upstream: { mepo = prev.mepo.overrideAttrs (upstream: {
doCheck = false; doCheck = false;
nativeBuildInputs = upstream.nativeBuildInputs ++ [ nativeBuildInputs = upstream.nativeBuildInputs ++ [
# zig hardcodes the /lib/ld-linux.so interpreter which breaks nix dynamic linking & dep tracking
final.autoPatchelfHook
# zig hard-codes `pkg-config` inside lib/std/build.zig # zig hard-codes `pkg-config` inside lib/std/build.zig
(final.buildPackages.writeShellScriptBin "pkg-config" '' (final.buildPackages.writeShellScriptBin "pkg-config" ''
exec $PKG_CONFIG $@ exec $PKG_CONFIG $@