about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/gtksourceview/3.x-nix_share_path.patch
blob: c87350167c25c3cbc1ed7cc53e9efd204c1868b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/gtksourceview/gtksourceview-utils.c	2014-07-13 16:13:57.418687726 +0200
+++ b/gtksourceview/gtksourceview-utils.c	2014-07-13 16:14:20.550847767 +0200
@@ -68,6 +68,8 @@
 							 basename,
 							 NULL));
 
+        g_ptr_array_add (dirs, g_build_filename ("@NIX_SHARE_PATH@", SOURCEVIEW_DIR, basename, NULL));
+
 	g_ptr_array_add (dirs, NULL);
 
 	return (gchar**) g_ptr_array_free (dirs, FALSE);