cosmic-settings: add upstream patch looking up wallpaper in NixOS-specific path

Usually, I prefer waiting for a release from upstream that includes the
commit but there appears that the next release is a few months away. So
add the patch for the time being.

Once we have a new release, the patch won't apply cleanly and we can
remove it then.
This commit is contained in:
Pratham Patel
2025-04-15 08:55:37 +02:00
committed by Alyssa Ross
parent 91b71e3961
commit e6064cfce1
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
rustPlatform,
cmake,
just,
@@ -36,6 +37,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "sha256-UKg3TIpyaqtynk6wLFFPpv69F74hmqfMVPra2+iFbvE=";
};
patches = [
# TODO: This is merged and will be included in the 7th Alpha release, remove it then.
(fetchpatch {
url = "https://github.com/pop-os/cosmic-settings/commit/2e2898b31fabcb3f3b561e6c4cea2aca9de9b284.patch";
hash = "sha256-ZGJlGmR6lZB697uQ+ZsjvisNbPKBlBdRK/Ti541ZdlE=";
})
];
useFetchCargoVendor = true;
cargoHash = "sha256-mf/Cw3/RLrCYgsk7JKCU2+oPn1VPbD+4JzkUmbd47m8=";