mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-26 02:03:21 +01:00
accf30ec0b
Also patches an issue where Mullvad VPN would crash ironbar if the tray module was enabled.
23 lines
677 B
Nix
23 lines
677 B
Nix
final: prev: {
|
|
ironbar = prev.ironbar.overrideAttrs (oldAttrs: rec {
|
|
version = "0.15.1-unstable-2024-08-04";
|
|
|
|
src = prev.fetchFromGitHub {
|
|
owner = "JakeStanger";
|
|
repo = "ironbar";
|
|
rev = "92c690dcd14c21272f89bfde292546a2ee828e23";
|
|
hash = "sha256-YFarQSZEIFpA1/9eRK4tm88mZYvWGIaAgCEAjazBO38=";
|
|
};
|
|
|
|
patches = (oldAttrs.patches or [ ]) ++ [ ../assets/ironbar-fix-tray-crash.patch ];
|
|
|
|
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (
|
|
prev.lib.const {
|
|
name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
|
|
inherit src;
|
|
outputHash = "sha256-wvjxKn2xS3qDJb7xVkLObr+Pz1djx+KHNSI66aonzpI=";
|
|
}
|
|
);
|
|
});
|
|
}
|