summary refs log tree commit diff
path: root/pkgs/applications/misc/tint2
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2020-07-01 11:41:44 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2020-07-01 11:41:44 -0300
commit5c021a4bbd813a98de960e2e804425f69f559a74 (patch)
tree66708703ef5ca23c8a9dd5f8078967b12d9cf365 /pkgs/applications/misc/tint2
parent5f21dfd306093a86f60698d1e49acdf25cce6dd0 (diff)
downloadnixpkgs-5c021a4bbd813a98de960e2e804425f69f559a74.tar
nixpkgs-5c021a4bbd813a98de960e2e804425f69f559a74.tar.gz
nixpkgs-5c021a4bbd813a98de960e2e804425f69f559a74.tar.bz2
nixpkgs-5c021a4bbd813a98de960e2e804425f69f559a74.tar.lz
nixpkgs-5c021a4bbd813a98de960e2e804425f69f559a74.tar.xz
nixpkgs-5c021a4bbd813a98de960e2e804425f69f559a74.tar.zst
nixpkgs-5c021a4bbd813a98de960e2e804425f69f559a74.zip
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.
Diffstat (limited to 'pkgs/applications/misc/tint2')
-rw-r--r--pkgs/applications/misc/tint2/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tint2/default.nix b/pkgs/applications/misc/tint2/default.nix
index 242a4e76c05..326dd3c0d92 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