Skip to content

Commit

Permalink
cosmic-applets: apply patch from pop-os/cosmic-applets#356
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyinstarlight committed Apr 18, 2024
1 parent 0aa2a04 commit 4a7ff89
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/cosmic-applets/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, rustPlatform
, wrapCosmicAppsHook
, dbus
Expand Down Expand Up @@ -49,6 +50,15 @@ rustPlatform.buildRustPackage {
};
};

patches = [
(fetchpatch {
# TODO: remove when pop-os/cosmic-applets#356 is merged
name = "cosmic-applets-fix-cosmic-applet-battery-cpu-monster.patch";
url = "https://github.com/pop-os/cosmic-applets/commit/120edae47c81764062e61789eabea5fa9af96c03.diff";
hash = "sha256-bisOt+y1w9gOafP6+Eg5kkG+TBSwfrP1UtVmqTBPTO4=";
})
];

nativeBuildInputs = [ wrapCosmicAppsHook just pkg-config util-linux ];
buildInputs = [ dbus glib libinput pulseaudio udev ];

Expand Down

0 comments on commit 4a7ff89

Please sign in to comment.