diff options
author | rewine | 2024-08-30 21:06:47 +0800 |
---|---|---|
committer | rewine | 2024-09-04 10:16:54 +0800 |
commit | 8166a4e0caf43ea1c3bdfc16b4ac0f03525f939b (patch) | |
tree | 270a1b6f16d8c305584fb97cd63894f14f056377 /pkgs/desktops | |
parent | 2d0cdadc74ad69ca33d2ddd99a6ee72d2b397bf4 (diff) |
deepin.dtkgui: fix svg renderer
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/deepin/library/dtkgui/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/desktops/deepin/library/dtkgui/default.nix b/pkgs/desktops/deepin/library/dtkgui/default.nix index 1b8c91265366..449a9d4156a1 100644 --- a/pkgs/desktops/deepin/library/dtkgui/default.nix +++ b/pkgs/desktops/deepin/library/dtkgui/default.nix @@ -27,6 +27,11 @@ stdenv.mkDerivation rec { ./fix-pri-path.patch ]; + postPatch = '' + substituteInPlace src/util/dsvgrenderer.cpp \ + --replace-fail 'QLibrary("rsvg-2", "2")' 'QLibrary("${lib.getLib librsvg}/lib/librsvg-2.so")' + ''; + nativeBuildInputs = [ cmake doxygen |