overlays/eww: use nixpkgs' but keeping patch

This commit is contained in:
LavaDesu 2022-10-04 20:13:47 +07:00
parent fda167b774
commit 4c51e1d6ca
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 14 additions and 27 deletions

View file

@ -1,20 +1,6 @@
self: super: {
# For https://github.com/elkowar/eww/pull/280
eww = super.eww.overrideAttrs (old: rec {
version = "unstable-fb0e57a";
src = self.fetchFromGitHub {
owner = "elkowar";
repo = "eww";
rev = "fb0e57a0149904e76fb33807a2804d4af82350de";
sha256 = "089rvcswr0wy05fac8xbfrws1qacqi3iialpv8sai7mzlpsw21m0";
};
# Use normal scroll events instead of smooth scroll ( due to https://bugzilla.gnome.org/show_bug.cgi?id=675959 )
patches = old.patches ++ [ ./patches/eww.patch ];
cargoSha256 = "1s7rxilqis2nbvjqjp5zarvmr9g6ndcicyx1rilgjv34qwna3mz1";
cargoDeps = self.rustPlatform.fetchCargoTarball {
inherit src;
name = "${old.pname}-${version}";
sha256 = cargoSha256;
};
});
}