Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
66 lines
1.1 KiB
Nix
66 lines
1.1 KiB
Nix
{
|
|
mkKdeDerivation,
|
|
pkg-config,
|
|
qtquick3d,
|
|
qtsensors,
|
|
qttools,
|
|
qtvirtualkeyboard,
|
|
qtwayland,
|
|
libinput,
|
|
xorg,
|
|
xwayland,
|
|
libcanberra,
|
|
libdisplay-info,
|
|
libei,
|
|
libgbm,
|
|
lcms2,
|
|
pipewire,
|
|
krunner,
|
|
python3,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "kwin";
|
|
|
|
patches = [
|
|
./0003-plugins-qpa-allow-using-nixos-wrapper.patch
|
|
./0001-NixOS-Unwrap-executable-name-for-.desktop-search.patch
|
|
./0001-Lower-CAP_SYS_NICE-from-the-ambient-set.patch
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs src/plugins/strip-effect-metadata.py
|
|
'';
|
|
|
|
# TZDIR may be unset when running through the kwin_wayland wrapper,
|
|
# but we need it for the lockscreen clock to render
|
|
qtWrapperArgs = [
|
|
"--set-default TZDIR /etc/zoneinfo"
|
|
];
|
|
|
|
extraNativeBuildInputs = [
|
|
pkg-config
|
|
python3
|
|
];
|
|
extraBuildInputs = [
|
|
qtquick3d
|
|
qtsensors
|
|
qttools
|
|
qtvirtualkeyboard
|
|
qtwayland
|
|
|
|
krunner
|
|
|
|
libgbm
|
|
lcms2
|
|
libcanberra
|
|
libdisplay-info
|
|
libei
|
|
libinput
|
|
pipewire
|
|
|
|
xorg.libxcvt
|
|
# we need to provide this so it knows our xwayland supports new features
|
|
xwayland
|
|
];
|
|
}
|