Unverified Commit 3482dcd7 authored by K900's avatar K900 Committed by GitHub
Browse files

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

parents 9b94b783 e24ac02b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  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";
}