1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

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,17 +18,12 @@ 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"
'';
meta = {
description = "Quick access to Zotero references";
homepage = http://www.cogsci.nl/software/qnotero;