tint2: fix doc directory

Documentation files should not be installed directly at $out/share/doc
because they may collide with files from other packages when paths are
linked in the system environment.
gstqt5
José Romildo Malaquias 2020-07-01 11:41:44 -03:00
parent 5f21dfd306
commit 5c021a4bbd
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ stdenv.mkDerivation rec {
libstartup_notification
];
cmakeFlags = [
"-Ddocdir=share/doc/${pname}"
];
postPatch = ''
for f in ./src/launcher/apps-common.c \
./src/launcher/icon-theme-common.c