git.iko.soy/typeable/nixpkgs
on master help sign in
material-shell: add patch to fix font scaling (#99878)
commit2452fcddafcb6038866230ea15a83966a69252a8 authorBenjamin Staffin <benley@gmail.com> dateTue 6 Oct 2020, 13:00 (6 years ago) parent6f90e1d
1 file changed+10−1
pkgs/desktops/gnome-3/extensions/material-shell/default.nix+10−1
pkgs/desktops/gnome-3/extensions/material-shell/default.nix+10−1
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchFromGitHub, gnome3 }:
1+{ stdenv, lib, fetchFromGitHub, gnome3, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "gnome-shell-extension-material-shell";
@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
1111 sha256 = "076cv1l5qr5x71przjwvbzx0m91n4z0byc2gc3r48l8vsr2d0hwf";
1212 };
1313
14+ patches = [
15+ # Fix for https://github.com/material-shell/material-shell/issues/284
16+ # (Remove this patch when updating to version >= 8)
17+ (fetchpatch {
18+ url = "https://github.com/material-shell/material-shell/commit/fc27489a1ec503a4a5c7cb2f4e1eefa84a7ea2f1.patch";
19+ sha256 = "0x2skg955c4jqgwbkfhk7plm8bh1qnk66cdds796bzkp3hb5syw8";
20+ })
21+ ];
22+
1423 # This package has a Makefile, but it's used for building a zip for
1524 # publication to extensions.gnome.org. Disable the build phase so
1625 # installing doesn't build an unnecessary release.