{ pkgs, lib, config, inputs, ... }: { imports = []; config = { nativeStdenv = prev.stdenvAdapters.withCFlags [ "-O3" "-pipe" "-march=native" ] (prev.overrideCC prev.llvmPackages_latest.stdenv (prev.wrapCCWith rec { cc = prev.llvmPackages_latest.clang-unwrapped; bintools = (final.wrapBintoolsWith { coreutils = final.uutils-coreutils; libc = final.musl; bintools = final.binutils-unwrapped.overrideAttrs (old: { postInstall = '' ln -sf ${final.mold}/bin/mold $out/bin/ld ''; }); }); })); }; }