Commit e6064cfc authored by Pratham Patel's avatar Pratham Patel Committed by Alyssa Ross
Browse files

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.
parent 91b71e39
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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=";