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.
This commit is contained in:
parent
dbc4d435e9
commit
f8368162bb
1 changed files with 6 additions and 0 deletions
|
|
@ -5,4 +5,10 @@ final: prev: {
|
|||
./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'
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue