qnotero: fix #23438

This commit is contained in:
Nicolò Balzarotti 2017-03-03 13:39:52 +01:00
parent ac592121b9
commit cb3bfc9717

View file

@ -18,15 +18,10 @@ python3Packages.buildPythonPackage rec {
patchPhase = ''
substituteInPlace ./setup.py \
--replace "/usr/share" "$out/usr/share"
--replace "/usr/share" "usr/share"
substituteInPlace ./libqnotero/_themes/default.py \
--replace "/usr/share" "$out/usr/share"
'';
postInstall = ''
mkdir -p "$out/usr/share/qnotero"
mv resources "$out/usr/share/qnotero"
--replace "/usr/share" "$out/usr/share"
'';
meta = {