mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
qnotero: fix #23438
This commit is contained in:
parent
ac592121b9
commit
cb3bfc9717
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user