wechat-uos: Remove hardened glibc as it seems no longer needed on 4.0.1.12

This commit is contained in:
Bu Kun
2025-02-27 10:55:24 +08:00
committed by GitHub
parent e4a72293ae
commit e12bc01f0a
-8
View File
@@ -47,11 +47,6 @@
writeShellScript,
}:
let
# zerocallusedregs hardening breaks WeChat
glibcWithoutHardening = stdenv.cc.libc.overrideAttrs (old: {
hardeningDisable = (old.hardeningDisable or [ ]) ++ [ "zerocallusedregs" ];
});
wechat-uos-env = stdenvNoCC.mkDerivation {
meta.priority = 1;
name = "wechat-uos-env";
@@ -68,9 +63,6 @@ let
};
wechat-uos-runtime = with xorg; [
# Make sure our glibc without hardening gets picked up first
(lib.hiPrio glibcWithoutHardening)
stdenv.cc.cc
stdenv.cc.libc
pango