Override qq to use wayland.
This commit is contained in:
parent
e77baa8fc2
commit
50d2805acb
5 changed files with 34 additions and 0 deletions
23
pkgs/QQ.nix
Normal file
23
pkgs/QQ.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
symlinkJoin,
|
||||
makeWrapper,
|
||||
qq,
|
||||
...
|
||||
}:
|
||||
symlinkJoin {
|
||||
name = "QQ";
|
||||
paths = [qq];
|
||||
inherit (qq) meta;
|
||||
buildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
postBuild = ''
|
||||
rm $out/share/applications/qq.desktop
|
||||
cp ${qq}/share/applications/qq.desktop $out/share/applications/qq.desktop
|
||||
substituteInPlace $out/share/applications/qq.desktop \
|
||||
--replace-fail "${qq}" $out
|
||||
wrapProgram $out/bin/qq \
|
||||
--set NIXOS_OZONE_WL 1 \
|
||||
--add-flags '--wayland-text-input-version=3'
|
||||
'';
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@ in
|
|||
TrackersListCollection = callPackage ./TrackersListCollection.nix {};
|
||||
wshowkeys-mao = callPackage ./wshowkeys-mao.nix {};
|
||||
OuterWildsTextAdventure = callPackage ./OuterWildsTextAdventure.nix {};
|
||||
QQ = callPackage ./QQ.nix {};
|
||||
|
||||
noto-serif-cjk = callPackage ./noto-serif-cjk.nix {};
|
||||
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue