electrum: manually fixup installation of share

wip/yesman
Joachim Fasting 8 years ago
parent c04c9f7435
commit 1ee50bc78a
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08
  1. 7
      pkgs/applications/misc/electrum/default.nix

@ -40,6 +40,13 @@ python2Packages.buildPythonApplication rec {
sed -i '/Created: .*/d' gui/qt/icons_rc.py
'';
postInstall = ''
# Despite setting usr_share above, these files are installed under
# $out/nix ...
mv $out/lib/python2.7/site-packages/nix/store/*/share $out
rm -rf $out/lib/python2.7/site-packages/nix
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/electrum help >/dev/null

Loading…
Cancel
Save