From ed2aa6313f6d42242ab174d2a0dd1a2e8bff5476 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Mon, 26 Aug 2019 21:28:13 -0400 Subject: [PATCH] glib: add getSchemaPath --- pkgs/development/libraries/glib/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/glib/default.nix b/pkgs/development/libraries/glib/default.nix index 56c156d8639f..29360585b7e5 100644 --- a/pkgs/development/libraries/glib/default.nix +++ b/pkgs/development/libraries/glib/default.nix @@ -174,9 +174,10 @@ stdenv.mkDerivation rec { inherit doCheck; - passthru = { + passthru = rec { gioModuleDir = "lib/gio/modules"; makeSchemaPath = dir: name: "${dir}/share/gsettings-schemas/${name}/glib-2.0/schemas"; + getSchemaPath = pkg: makeSchemaPath pkg pkg.name; inherit flattenInclude; updateScript = gnome3.updateScript { packageName = "glib"; }; };