nixcfg/overlays/mods/default.nix
Harald Hoyer f8368162bb feat(nix): override at-spi2-core postInstall script
- Added a `postInstall` modification to adjust the Xwayland session script in `at-spi2-core`.
- Ensures proper replacement of `xprop` with the path to the package's binary.
2026-01-15 13:25:56 +01:00

14 lines
527 B
Nix

{ ... }:
final: prev: {
gnome-console = prev.gnome-console.overrideAttrs (prevAttrs: {
patches = (prevAttrs.patches or [ ]) ++ [
./gnome-console-Add-image-and-file-path-pasting-support-for.patch
];
});
at-spi2-core = prev.at-spi2-core.overrideAttrs (oldAttrs: {
postInstall = (oldAttrs.postInstall or "") + ''
substituteInPlace $out/etc/xdg/Xwayland-session.d/00-at-spi \
--replace-fail 'exec xprop' 'exec ${final.xorg.xprop}/bin/xprop'
'';
});
}