From cb3bfc97175d62b0298c279b007fb48936f9cc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Fri, 3 Mar 2017 13:39:52 +0100 Subject: [PATCH] qnotero: fix #23438 --- pkgs/applications/office/qnotero/default.nix | 9 ++------- 1 file 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 = {