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
This commit is contained in:
danbst 2017-11-11 18:58:59 +02:00
parent 5e94dc882b
commit 450123ca30

View File

@ -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
'';