plasma-welcome: fix references to wallpapers (#463036)

This commit is contained in:
K900
2025-11-19 07:28:34 +00:00
committed by GitHub
@@ -1,10 +1,16 @@
{
mkKdeDerivation,
breeze,
qtsvg,
}:
mkKdeDerivation {
pname = "plasma-welcome";
postPatch = ''
substituteInPlace src/qml/mock/Mock{Activities,Card,Overview}.qml \
--replace-fail 'file:" + Private.App.installPrefix + "/share/wallpapers/Next/contents/images' "file://${breeze}/share/wallpapers/Next/contents/images"
'';
extraBuildInputs = [ qtsvg ];
meta.mainProgram = "plasma-welcome";
}