summary refs log tree commit diff
path: root/pkgs/applications/office/qnotero
diff options
context:
space:
mode:
authorNicolò Balzarotti <anothersms@gmail.com>2017-03-03 13:39:52 +0100
committerNicolò Balzarotti <anothersms@gmail.com>2017-03-07 15:51:59 +0100
commitcb3bfc97175d62b0298c279b007fb48936f9cc29 (patch)
tree46b8768a07aff057b9ceb25820ca560d0295b852 /pkgs/applications/office/qnotero
parentac592121b9df83a81d2d90be1c40c2d393689ce5 (diff)
downloadnixlib-cb3bfc97175d62b0298c279b007fb48936f9cc29.tar
nixlib-cb3bfc97175d62b0298c279b007fb48936f9cc29.tar.gz
nixlib-cb3bfc97175d62b0298c279b007fb48936f9cc29.tar.bz2
nixlib-cb3bfc97175d62b0298c279b007fb48936f9cc29.tar.lz
nixlib-cb3bfc97175d62b0298c279b007fb48936f9cc29.tar.xz
nixlib-cb3bfc97175d62b0298c279b007fb48936f9cc29.tar.zst
nixlib-cb3bfc97175d62b0298c279b007fb48936f9cc29.zip
qnotero: fix #23438
Diffstat (limited to 'pkgs/applications/office/qnotero')
-rw-r--r--pkgs/applications/office/qnotero/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/applications/office/qnotero/default.nix b/pkgs/applications/office/qnotero/default.nix
index 5076a8f586e3..ad571cd8b186 100644
--- a/pkgs/applications/office/qnotero/default.nix
+++ b/pkgs/applications/office/qnotero/default.nix
@@ -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 = {