blob: 3126e2f8d9c0b374846973876bbaeb00bf1f7074 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{
mkKdeDerivation,
pkg-config,
wrapGAppsHook3,
sass,
qtsvg,
gsettings-desktop-schemas,
}:
mkKdeDerivation {
pname = "kde-gtk-config";
# The gtkconfig KDED module will crash the daemon if the GSettings schemas
# aren't found.
patches = [./0001-gsettings-schemas-path.patch];
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DGSETTINGS_SCHEMAS_PATH=\"$GSETTINGS_SCHEMAS_PATH\""
'';
extraNativeBuildInputs = [pkg-config wrapGAppsHook3 sass];
extraBuildInputs = [qtsvg];
dontWrapGApps = true; # There is nothing to wrap
extraCmakeFlags = ["-DGLIB_SCHEMAS_DIR=${gsettings-desktop-schemas.out}/"];
}
|