about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authordanbst <abcz2.uprola@gmail.com>2017-11-11 18:58:59 +0200
committerdanbst <abcz2.uprola@gmail.com>2017-11-11 18:58:59 +0200
commit450123ca30a0b675fae90d57bc2bce55935ef49e (patch)
tree9c02cb16b8f39013642d3b066b9b407506c53ecb /pkgs
parent5e94dc882bafd67f084622f658808b73a0df62a7 (diff)
downloadnixlib-450123ca30a0b675fae90d57bc2bce55935ef49e.tar
nixlib-450123ca30a0b675fae90d57bc2bce55935ef49e.tar.gz
nixlib-450123ca30a0b675fae90d57bc2bce55935ef49e.tar.bz2
nixlib-450123ca30a0b675fae90d57bc2bce55935ef49e.tar.lz
nixlib-450123ca30a0b675fae90d57bc2bce55935ef49e.tar.xz
nixlib-450123ca30a0b675fae90d57bc2bce55935ef49e.tar.zst
nixlib-450123ca30a0b675fae90d57bc2bce55935ef49e.zip
tortoisehg: fix license dialog
Upstream issue:
https://bitbucket.org/tortoisehg/thg/issues/4934/copyingtxt-not-installed-by-setuppy-on

While upstream is preparing a proper fix, we can install the missing file manually.

Originally discovered while testing https://github.com/NixOS/nixpkgs/pull/31240
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/version-management/tortoisehg/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/tortoisehg/default.nix b/pkgs/applications/version-management/tortoisehg/default.nix
index 6466e5ab0ae5..44d1ad0cd357 100644
--- a/pkgs/applications/version-management/tortoisehg/default.nix
+++ b/pkgs/applications/version-management/tortoisehg/default.nix
@@ -18,6 +18,8 @@ python2Packages.buildPythonApplication rec {
     buildPhase = "";
     installPhase = ''
       ${python2Packages.python.executable} setup.py install --prefix=$out
+      mkdir -p $out/share/doc/tortoisehg
+      cp COPYING.txt $out/share/doc/tortoisehg/Copying.txt.gz
       ln -s $out/bin/thg $out/bin/tortoisehg     #convenient alias
     '';