Unverified Commit e24ac02b authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

plasma-welcome: fix references to wallpapers

parent 7845703d
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";
}