xkeyboard-config: add patch to fix us-mac

Add a patch that reverts a commit in 2.45 that broke the us-mac keyboard
layout.

Remove when 2.46 is released

https://github.com/NixOS/nixpkgs/issues/426375
This commit is contained in:
Stig Palmquist
2025-07-30 12:40:29 +02:00
parent bf8fe59e58
commit 704686cc6b
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch2,
pkg-config,
meson,
ninja,
@@ -20,6 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Fp4HWpLZV6V3h8GZ6E41nfKTG3GWwcW0o9V27mI1qHw=";
};
patches = [
# Patch that reverts a commit in 2.45 that broke the us-mac keyboard layout.
# Remove when 2.46 is released.
# https://github.com/NixOS/nixpkgs/issues/426375
(fetchpatch2 {
url = "https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/11dbaeb23d06c0d21efe538c90b44ffc8fc3a071.patch";
hash = "sha256-qZkO1GQvbtTFeXqCuA7bjgQX5jq9c+LiKa/ziP1w2sI=";
})
];
strictDeps = true;
nativeBuildInputs = [