···1{ lib
2, stdenv
3, fetchurl
04, meson
5, ninja
6, pkg-config
···37 # but not from its own datadr (it assumes it will be in XDG_DATA_DIRS).
38 # Since this is not generally true with Nix, let’s add $out/share unconditionally.
39 ./4.x-nix_share_path.patch
000000040 ];
4142 nativeBuildInputs = [
···1{ lib
2, stdenv
3, fetchurl
4+, fetchpatch2
5, meson
6, ninja
7, pkg-config
···38 # but not from its own datadr (it assumes it will be in XDG_DATA_DIRS).
39 # Since this is not generally true with Nix, let’s add $out/share unconditionally.
40 ./4.x-nix_share_path.patch
41+42+ # Add Nix syntax highlighting.
43+ # https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/303
44+ (fetchpatch2 {
45+ url = "https://gitlab.gnome.org/GNOME/gtksourceview/-/commit/2cc7fd079f9fc8b593c727c68a2c783c82299562.patch";
46+ sha256 = "bTYWjEDpdbnUxcYNKl2YtSLfYlMfcbQSSYQjhixOGS8=";
47+ })
48 ];
4950 nativeBuildInputs = [