git.iko.soy/typeable/nixpkgs
on master help sign in
material-shell: add patch to fix font scaling (#99878)
2452fcdBenjamin Staffin
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 }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 pname = "gnome-shell-extension-material-shell";
4 pname = "gnome-shell-extension-material-shell";
@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
11 sha256 = "076cv1l5qr5x71przjwvbzx0m91n4z0byc2gc3r48l8vsr2d0hwf";
11 sha256 = "076cv1l5qr5x71przjwvbzx0m91n4z0byc2gc3r48l8vsr2d0hwf";
12 };
12 };
13
13
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+
14 # This package has a Makefile, but it's used for building a zip for
23 # This package has a Makefile, but it's used for building a zip for
15 # publication to extensions.gnome.org. Disable the build phase so
24 # publication to extensions.gnome.org. Disable the build phase so
16 # installing doesn't build an unnecessary release.
25 # installing doesn't build an unnecessary release.