forked from mirrors/nixpkgs
xorgcffiles: add aarch64-darwin support
This commit is contained in:
parent
a760f99e22
commit
90af686ddb
|
@ -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/" ""
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue