mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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 New Issue
Block a user