kitty: Disable X support
This commit is contained in:
parent
c00cab5fde
commit
0a3cdae3e5
1 changed files with 14 additions and 0 deletions
|
@ -171,6 +171,20 @@ in genAttrs [
|
|||
withKeePassX11 = false;
|
||||
};
|
||||
|
||||
kitty = prev.kitty.overrideAttrs (prevAttrs: {
|
||||
buildInputs = prevAttrs.buildInputs or [ ]
|
||||
|> removePackages [ "libX.*" ];
|
||||
|
||||
postPatch = prevAttrs.postPatch or "" + ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "'x11 wayland'" "'wayland'" \
|
||||
--replace-fail "'gl'" "'opengl'"
|
||||
|
||||
substituteInPlace kitty_tests/{check_build,glfw}.py \
|
||||
--replace-fail "'x11'" "'wayland'"
|
||||
'';
|
||||
});
|
||||
|
||||
libcanberra = prev.libcanberra.override {
|
||||
withAlsa = false;
|
||||
gtkSupport = null;
|
||||
|
|
Loading…
Reference in a new issue