electrum: manually fixup installation of share
This commit is contained in:
parent
c04c9f7435
commit
1ee50bc78a
@ -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…
Reference in New Issue
Block a user