From 5bf047fdc02799ff7de85a0d6606469a4eb4f2ea Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 5 May 2023 08:31:18 +0300 Subject: [PATCH] dde-daemon: do not create /usr/share/uadp --- pkgs/desktops/deepin/go-package/dde-daemon/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/desktops/deepin/go-package/dde-daemon/default.nix b/pkgs/desktops/deepin/go-package/dde-daemon/default.nix index e8b2bfedefa9..3890e6a23a0f 100644 --- a/pkgs/desktops/deepin/go-package/dde-daemon/default.nix +++ b/pkgs/desktops/deepin/go-package/dde-daemon/default.nix @@ -67,6 +67,9 @@ buildGoPackage rec { substituteInPlace inputdevices/layout_list.go \ --replace "/usr/share/X11/xkb" "${xkeyboard_config}/share/X11/xkb" + substituteInPlace system/uadp/crypto.go \ + --replace "/usr/share/uadp" "/var/lib/dde-daemon/uadp" + substituteInPlace appearance/background/{background.go,custom_wallpapers.go} accounts/user.go bin/dde-system-daemon/wallpaper.go \ --replace "/usr/share/wallpapers" "/run/current-system/sw/share/wallpapers"