blob: 82a254c3a3799d106ee58166215f3c2f52617f1f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ mkDerivation, lib, copyPathsToStore
, extra-cmake-modules
, kwayland, libXrandr
, qtx11extras
}:
mkDerivation {
name = "libkscreen";
nativeBuildInputs = [ extra-cmake-modules ];
propagatedBuildInputs = [ kwayland libXrandr qtx11extras ];
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputLib}/$qtPluginPrefix/kf5/kscreen\""
'';
}
|