gi-server

Unnamed repository; edit this file 'description' to name the repository.
git clone https://logand.com/git/gi-server.git/
Log | Files | Refs

commit 7f777e4cdcc6daf9073a8af74b7ebb201cebd7ab
parent a03dc873563492dd715ccf846002af9c67ec31a9
Author: Tomas Hlavaty <tom@logand.com>
Date:   Sun,  6 Sep 2015 10:55:07 +0200

wrap for GI_TYPELIB_PATH

Diffstat:
Mdefault.nix | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/default.nix b/default.nix @@ -11,14 +11,13 @@ stdenv.mkDerivation rec { buildInputs = [pkgconfig gobjectIntrospection gtk3 pango gdk_pixbuf atk]; - GI_TYPELIB_PATH = - "${gtk3}/lib/girepository-1.0" - + ":${pango}/lib/girepository-1.0" - + ":${gdk_pixbuf}/lib/girepository-1.0" - + ":${atk}/lib/girepository-1.0"; - installPhase = '' mkdir -p $out/bin cp ${name} $out/bin/${name} + wrapProgram "$out/bin/${name}" \ + --prefix GI_TYPELIB_PATH : ("${gtk3}/lib/girepository-1.0" \ + + ":${pango}/lib/girepository-1.0" \ + + ":${gdk_pixbuf}/lib/girepository-1.0" \ + + ":${atk}/lib/girepository-1.0"); ''; }