From 450123ca30a0b675fae90d57bc2bce55935ef49e Mon Sep 17 00:00:00 2001 From: danbst Date: Sat, 11 Nov 2017 18:58:59 +0200 Subject: [PATCH] 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 --- pkgs/applications/version-management/tortoisehg/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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 '';