From 730133e130a03f074b489b13ee2a3f3df8197b2f Mon Sep 17 00:00:00 2001 From: adisbladis Date: Fri, 15 May 2020 10:15:14 +0100 Subject: [PATCH] darktable: Remove doc directory from output It puts very generic file names in the store like `$out/share/doc/README.md` which has a high risk of collisions. --- pkgs/applications/graphics/darktable/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/graphics/darktable/default.nix b/pkgs/applications/graphics/darktable/default.nix index 948b4ddd54db..b021c186b5c5 100644 --- a/pkgs/applications/graphics/darktable/default.nix +++ b/pkgs/applications/graphics/darktable/default.nix @@ -34,6 +34,8 @@ stdenv.mkDerivation rec { "-DUSE_KWALLET=OFF" ]; + # Reduce the risk of collisions + postInstall = "rm -r $out/share/doc"; # darktable changed its rpath handling in commit # 83c70b876af6484506901e6b381304ae0d073d3c and as a result the