catppuccin-sddm: fix background path substitution

- Upstream changed the `CustomBackground` configuration option to use
  `"backgrounds/wall.png"` instead of `"backgrounds/wall.jpg"`.

- See: https://github.com/catppuccin/sddm/commit/f5418099#diff-e121ebe3

- Resolves: https://github.com/NixOS/nixpkgs/issues/441194
This commit is contained in:
magicquark
2025-09-08 18:08:03 +01:00
parent 3a9b6e9f77
commit 7cce073bd3
+1 -1
View File
@@ -64,7 +64,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
${lib.optionalString (background != null) ''
substituteInPlace $configFile \
--replace-fail 'Background="backgrounds/wall.jpg"' 'Background="${background}"' \
--replace-fail 'Background="backgrounds/wall.png"' 'Background="${background}"' \
--replace-fail 'CustomBackground="false"' 'CustomBackground="true"'
''}