From 5c021a4bbd813a98de960e2e804425f69f559a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Wed, 1 Jul 2020 11:41:44 -0300 Subject: [PATCH] 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. --- pkgs/applications/misc/tint2/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/misc/tint2/default.nix b/pkgs/applications/misc/tint2/default.nix index 242a4e76c05a..326dd3c0d92a 100644 --- a/pkgs/applications/misc/tint2/default.nix +++ b/pkgs/applications/misc/tint2/default.nix @@ -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