3
0
Fork 0
forked from mirrors/nixpkgs

xorgcffiles: add aarch64-darwin support

This commit is contained in:
Weijia Wang 2022-12-30 06:40:28 +01:00
parent a760f99e22
commit 90af686ddb

View file

@ -1067,6 +1067,13 @@ self: super:
});
xorgcffiles = super.xorgcffiles.overrideAttrs (attrs: {
patches = [
(fetchpatch {
name = "add-aarch64-darwin-support.patch";
url = "https://gitlab.freedesktop.org/xorg/util/cf/-/commit/8d88c559b177e832b581c8ac0aa383b6cf79e0d0.patch";
sha256 = "sha256-wCijdmlUtVgOh9Rp/LJrg1ObYm4OPTke5Xwu0xC0ap4=";
})
];
postInstall = lib.optionalString stdenv.isDarwin ''
substituteInPlace $out/lib/X11/config/darwin.cf --replace "/usr/bin/" ""
'';